← 返回命令列表

Linux command

nrm 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

List registries

nrm ls

Use registry

nrm use [taobao]

Add custom registry

nrm add [name] [url]

Delete registry

nrm del [name]

Test registry speed

nrm test

Show current registry

nrm current

说明

nrm is npm registry manager. Quickly switch between npm registries. The tool manages registry URLs. Includes common registries preset.

参数

ls
List registries.
use _NAME_
Switch registry.
add _NAME_ _URL_
Add registry.
del _NAME_
Remove registry.
test
Test speeds.
--help
Display help information.

FAQ

What is the nrm command used for?

nrm is npm registry manager. Quickly switch between npm registries. The tool manages registry URLs. Includes common registries preset.

How do I run a basic nrm example?

Run `nrm ls` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does ls do in nrm?

List registries.