nrm 使用
Posted winter-shadow
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nrm 使用相关的知识,希望对你有一定的参考价值。
全局安装
npm i nrm -g 全局安装nrm
nrm ls 查看镜像地址:
npm ---- https://registry.npmjs.org/ cnpm --- http://r.cnpmjs.org/ taobao - https://registry.npm.taobao.org/ nj ----- https://registry.nodejitsu.com/ rednpm - http://registry.mirror.cqupt.edu.cn/ npmMirror https://skimdb.npmjs.com/registry/ edunpm - http://registry.enpmjs.org/
nrm use taobao 使用淘宝的镜像
$ nrm use taobao Registry has been set to: https://registry.npm.taobao.org/ [email protected] MINGW64 /d/phpStudy/PHPTutorial/WWW/node
使用cnpm。
npm i cnpm -g
以上是关于nrm 使用的主要内容,如果未能解决你的问题,请参考以下文章