简介

nrm 学习笔记。

镜像源管理

# 安装 nrm
npm i nrm -g

# 添加源
nrm add [name] [registry]

# 查看源
nrm ls

# 切换源
nrm use [name]

# 测试源
nrm test [name]

镜像配置

# 查看
npm config ls

# 设置
npm config set <key> <value> [-g|--global]

# 获取
npm config get <key>

# 删除
npm config delete <key>

# 修改
npm config edit

参考资料

powered by Gitbook该文件修订时间: 2023-05-16 18:08:03

results matching ""

    No results matching ""