临时指定镜像源
1 | npm install <registry-name> --registry https://registry.npmjs.org |
永久设置
1 | npm config set registry https://registry.npm.taobao.org |
安装定制的cnpm命令行工具
1 | npm install -g cnpm --registry=https://registry.npm.taobao.org |
分类目录
热门标签
微信订阅
友情链接
2019-03-11 技术笔记
1 | npm install <registry-name> --registry https://registry.npmjs.org |
1 | npm config set registry https://registry.npm.taobao.org |
1 | npm install -g cnpm --registry=https://registry.npm.taobao.org |