先到Node.js的官网(https://nodejs.org/zh-cn/)下载安装文件
选择长期支持版
我选择安装到了D盘
这里有几个自定义配置,默认全部都配
第一个是node.js的运行环境
第二个是npm的包管理工具
第三个是联机文档快捷方式
第四个是将node.js与npm添加到环境变量
通过百度翻译
大致意思是:
Some npm modules need to compiled from C/C++ when installing. If you want to be able to install such modules,
some tools(Python and Visual Studio Build Tools) need to be installed.
一些npm的模块在安装时需要用到C/C++、Python、Visual Studio Build Tools等工具。
automatically install the necessary tools.note that this will also install Chocolatey.The script will pop-up in a new window after the installation completes.
自动安装必要的工具。
请注意,将安装Chocolatey(Windows下的一个包管理工具)。
安装完成后,脚本将在新窗口中弹出。
由于访问国外网络的原因,不建议勾选,还是手动来吧。。
下面可以光速跳过了。
Install后出现这个界面
此脚本将根据需要安装Python和visualstudio构建工具