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/

Administrator@LiYong-PC MINGW64 /d/phpStudy/PHPTutorial/WWW/node

 使用cnpm。

npm i cnpm -g

  

上一篇:nginx教程从入门到精通


下一篇:小朋友学C语言(2):安装Dev C++编译器