1、安装淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
2、安装nrm
cnpm i -g nrm
3、查看本地镜像源
nrm ls
4、切换镜像源
nrm use cnpm
5、查看配置
npm config get registry
1、安装淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
2、安装nrm
cnpm i -g nrm
3、查看本地镜像源
nrm ls
4、切换镜像源
nrm use cnpm
5、查看配置
npm config get registry