nrm的安装与使用

何时使用nrm

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

安装nrm

npm install -g nrm

查看可选的镜像源

nrm ls

image.png

使用镜像源

nrm use taobao // 淘宝镜像为例

增加镜像源

nrm add [镜像名] 镜像地址

删除镜像源

nrm del [镜像名]

测试镜像源地址的速度

nrm test [镜像名]
posted @ 2020-11-27 16:49  俄小发  阅读(115)  评论(0编辑  收藏  举报