Skip to main content

镜像源管理工具nrm

安装

# 安装nrm
npm install nrm -g

nrm命令

# 列出镜像源
nrm ls

# 添加
nrm add <registry-name> <registry-url>

# 删除
nrm del <registry-name>

# 选择/切换
nrm use <registry-name>

# 测试速度
nrm test

缓存

# 清除缓存
npm clean --force
or
yarn cache lean