全局安装nrm (npm源管理工具)
npm install -g nrm
查看所有的源地址 * 代表当前的源地址
nrm ls * npm ----- https://registry.npmjs.org/ cnpm ---- http://r.cnpmjs.org/ taobao -- https://registry.npm.taobao.org/ nj ------ https://registry.nodejitsu.com/ skimdb -- https://skimdb.npmjs.com/registry
切换源地址 (切换到taobao源)
nrm use taobao
测试传输速度
nrm test npm