nrm
npm 注册管理器 (NPM registry manager)
安装
npm install -g nrm
常用命令
查看当前版本
nrm -V
查看目前使用注册源
nrm ls
* npm -------- https://registry.npmjs.org/
yarn ------- https://registry.yarnpkg.com/
cnpm ------- http://r.cnpmjs.org/
taobao ----- https://registry.npm.taobao.org/
nj --------- https://registry.nodejitsu.com/
npmMirror -- https://skimdb.npmjs.com/registry/
edunpm ----- http://registry.enpmjs.org/
test ------- http://127.0.0.1:8081/repository/npm-group/
切换使用
nrm use 【cnpm】
添加源
# nrm add 【registry】【url】
nrm add test http://127.0.0.1:8081/repository/npm-group/
更多命令: nrm --help