Node.js/npm/源
来自康健生活
标题文本
源地址
工具
registry
npm config set registry https://registry.npm.taobao.org
nrm
npm i -g nrm
kangjian@kangkk:~/github/kangkk.github.io$
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/
kangjian@kangkk:~/github/kangkk.github.io$
nrm use taobao
Registry has been set to: https://registry.npm.taobao.org/
add
[jian@kang /home/kangkk]$
nrm add company http://registry.npm.qiwoo.org
add registry company success
No categories