查看镜像源
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
查看镜像源
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