九九柒

硬的怕横的,横的怕不要命的,疯子都是不要命的,所以疯子力量大,程序员只有一种,疯狂的程序员。

nrm 安装与使用

nrm

  • npm的镜像源管理工具,有时候国外资源太慢,使用这个就可以快速地在 npm 源间切换
1.安装
cnpm install -g nrm
2.查看地址
nrm ls

* npm -------- https://registry.npmjs.org/
  yarn ------- https://registry.yarnpkg.com/
  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/
*
3.切换
nrm use taobao 
4.增加
nrm add 
5.删除
nrm del
6.测试速度
nrm test npm
//npm ---- 2125ms
posted @ 2020-03-10 20:55  九九柒  阅读(99)  评论(0编辑  收藏  举报