欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

使用 nrm 管理 npm 源

最编程 2024-03-14 10:19:08
...
# 查看 nrm 内置的几个 npm 源 ➜ ~ nrm ls npm ---- https://registry.npmjs.org/ 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/ # 切换源 ➜ ~ nrm use cnpm verb config Skipping project config: /Users/sunqiang/.npmrc. (matches userconfig) Registry has been set to: http://r.cnpmjs.org/