安装:
npm install nrm -g(全局安装)
nrm ls:
查看可用源(*为当前的源)
*npm ---- https://registry.npmjs.org/
cnpm --- http://r.cnpmjs.org/
taobao - http://registry.npm.taobao.org/
eu ----- http://registry.npmjs.eu/
au ----- http://registry.npmjs.org.au/
sl ----- http://npm.strongloop.com/
nj ----- https://registry.nodejitsu.com/
nrm use taobao:
使用淘宝镜像