nrm 常用命令
安装
npm install -g nrm
-
nrm ls/nrm list查看所有可用镜像及当前使用的源(带 * 号) -
nrm use <源名>切换 npm 镜像源,例如:nrm use taobao -
nrm test测试所有镜像源的响应速度 -
nrm add <名字> <url>添加一个新的 npm 镜像源 -
nrm del <名字>删除一个自定义的镜像源 -
nrm current显示当前使用的镜像源
npm install -g nrm
nrm ls / nrm list 查看所有可用镜像及当前使用的源(带 * 号)nrm use <源名> 切换 npm 镜像源,例如:nrm use taobao
nrm test 测试所有镜像源的响应速度nrm add <名字> <url> 添加一个新的 npm 镜像源nrm del <名字> 删除一个自定义的镜像源nrm current 显示当前使用的镜像源