配置前端开发环境node 和vscode
2022-08-23 本文已影响0人
小白白呐
首先选择node安装包,可以网上下载也可以在网盘拿现有的安装程序exe,







(4)修改好目录后,点击【Next】按钮






新增 node_global 和 node_cache 文件夹



(5)相关配置
用户变量 path :D:\Develop\nodejs\node_global(你安装的这个文件所在的路径)
系统变量 NODE_PATH :
D:\Develop\nodejs\node_global\node_modules (你安装的这个文件所在的路径)
和系统变量的path配置 D:\Develop\nodejs\(自己安装的位置),这个不需要自己配,系统会自动配置上,需要自己确认一下



(6)安装基本完成!!!
vscode安装:
可参考
https://blog.csdn.net/weixin_43928112/article/details/125813377
1、在官网下载

作者安装的是system版本,
user版等于是自己私用的版本,别的计算机帐户无法使用当前的vscode.
而system版本任何帐户都可以使用,这个是主要的区别,简单说是通用版,相对好装。在使用上基本没什么区别
1、





4.打开vscode搜Chinese中文包进行安装。之后重启vscode


