Node.js安装
时间:2020-02-17 18:19:05
收藏:0
阅读:65
下载
https://nodejs.org/en/download/
安装
next直接安装
npm使用国内镜像,解决卡顿
1.以管理员身份运行cmd
2.换成阿里源
npm config set registry https://registry.npm.taobao.org
3.验证命令
npm config get registry //返回https://registry.npm.taobao.org,说明镜像配置成功。
4.安装cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
原文:https://www.cnblogs.com/TD1900/p/12322767.html
评论(0)