需要在不同项目中使用不同的npm镜像源时,可以使用nrm管理

安装nrm

npm install -g nrm

查看可选的镜像源

nrm ls

nrm的安装与使用

使用镜像源

nrm use taobao // 淘宝镜像为例

增加镜像源

nrm add [镜像名] 镜像地址

删除镜像源

nrm del [镜像名]

测试镜像源地址的速度

nrm test [镜像名]

相关文章:

  • 2022-12-23
  • 2021-06-17
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2022-12-23
  • 2021-07-26
  • 2022-01-12
相关资源
相似解决方案