NPM包管理工具NRM

1.nrm(npm registry manager )是npm的镜像源管理工具,有时候国外资源太慢,使用这个就可以快速地在 npm 源间切换.

2.nrm安装

  npm install -g nrm

3.nrm查看源

  nrm ls

  

 4.nrm切换源

  nrm use  npm

  

   

 5.nrm源恢复

  nrm use taobao

  

  6.修改执行策略

  以管理员身份运行powershell

  set-ExecutionPolicy RemoteSigned

  回车输入Y

 7.nrm源速度测试

  nrm test taobao

  

  nrm test cnpm

  

原文地址:https://www.cnblogs.com/oumi/p/12792328.html