配置:
- 打开终端
- 输入命令
npm config set registry https://registry.npm.taobao.org—点击enter键执行 - 配置完成后检验是否成功,输入命令
npm config get registry
配置成功如图所示:

其他命令:
- 重新安装
npm install nrm -g - 查看所用的镜像
nrm ls
配置:
npm config set registry https://registry.npm.taobao.org—点击enter键执行npm config get registry
其他命令:
npm install nrm -gnrm ls
2237
1796
882
3874

被折叠的 条评论
为什么被折叠?