Node.js - Mac 系统中使用 nrm 管理 npm 源地址
变更记录
序号 | 录入时间 | 录入人 | 备注 |
---|---|---|---|
1 | 2017-11-07 | Alfred Jiang | - |
方案名称
Node.js - Mac 系统中使用 nrm 管理 npm 源地址
关键字
Node.js \ nrm \ npm
需求场景
- 需要 npm 多个源切换时
参考链接
详细内容
安装
1 | npm install -g nrm |
使用
列出全部源地址(带 * 表示为当前所用源)
1 | nrm ls |
切换源
1 | nrm use cnpm //switch registry to cnpm |
全部命令
1 | nrm help // show help |
效果图
(无)
备注
(无)
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 宁静至远,博雅多通!