设置
$ npm config set registry https://registry.npm.taobao.org/
- 淘宝镜像 https://registry.npm.taobao.org/
- 默认镜像 https://registry.npmjs.org
查看
$ npm config get registry
设置
$ npm config set registry https://registry.npm.taobao.org/
查看
$ npm config get registry