npm install -g nrm |
nrm --help |
Commands: ls list all the registries current show current registry name use <registry> change registry to registry add <registry> <url> [home] add one custom registry home <registry> [browser] open the homepage of registry with optional browser del|rm <registry> delete one custom registry help print this help test [registry] show response time for specific or all registries Options: -h, --help output usage information -V, --version output the version number |
nrm ls |
* npm ---- https://registry.npmjs.org/ cnpm --- http://r.cnpmjs.org/ taobao - https://registry.npm.taobao.org/ |
nrm use npm |
nrm add<源名称> <源地址> |
nrm test |
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |