npm install -g nrm
1.查看可选源
nrm ls
2.切换镜像源
nrm use + 镜像源
3.添加镜像源
nrm add + 镜像源
4.删除镜像源
nrm del + 镜像源
5.测试镜像源响应速度(数值越小,下载速度越快)
nrm test + 镜像源