npm 设置镜像源

489 阅读1分钟

查看镜像源

npm config get registry

查看其它镜像源

先安装nrm
npm install nrm -g
nrm ls

设置镜像源

npm config set registry xxxxx