1.下载nodejs 链接如下:http://nodejs.cn/download/ 个人选择合适的版本进行下载 2.环境配置 参考以下链接详解:https://www.cnblogs.com/liuqiyun/p/8133904.html