使用npm安装nrm包 npm install -g nrm安装完成之后使用nrm ls查看成功之后的各个公司的代理地址使用nrm use taobao切换成淘宝镜像若要切换回官方镜像使用nrm use npm即可。