npm 设置镜像源


查看镜像源
npm config get registry

设置taobao镜像
npm config set registry https://registry.npm.taobao.org
设置原来的镜像
npm config set registry https://registry.npmjs.org

查询其它镜像地址
npm install nrm -g
nrm ls
原文地址:https://www.cnblogs.com/dch0/p/14213645.html