macOS
brew install nrmlocal Homebrew formula metadata
安装
brew install nrmlocal Homebrew formula metadata
nix profile install nixpkgs#nrmnixpkgs package indexes · pkgs/by-name/nr/nrm/package.nix · 来源: api.github.com
概览
NPM registry manager, fast switch between different registries
历史
nrm is a Node.js command-line registry manager that switches npm-compatible registry URLs quickly. The package was published to npm and GitHub on February 28, 2014, and its repository describes support for common registry presets including npm, yarn, cnpm, taobao/npmmirror, Tencent, npmMirror, and Huawei.
The project emerged from the npm ecosystem's need to move between the public npm registry, regional mirrors, and private or vendor registries without hand-editing npm configuration. Its 2.x line, released in late 2024 and 2025, includes a TypeScript migration and fixes around `.npmrc` handling, showing maintenance rather than a frozen one-off script.
nrm became a recognizable utility in JavaScript development workflows, especially where developers routinely compare registry latency or switch between regional mirrors. The GitHub repository had about 3,004 stars and 254 forks when queried on 2026-07-01; npm reported 10,993 downloads for the 2026-05-30 through 2026-06-28 period.
The practical workflow is to install it globally with npm, Yarn, pnpm, or Homebrew, list configured registries with `nrm ls`, switch with `nrm use <name>`, test registry response time with `nrm test`, and add or delete custom registries. It is package-manager glue, not a package manager replacement.
nrm matters because registry choice is operational state in Node.js projects. A tiny CLI that makes that state visible and switchable reduces mistakes when working across corporate registries, npm mirrors, and public packages.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nrm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:nrm |
|---|---|
| 版本 | 2.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nrm |
| 主页 | https://github.com/Pana/nrm |
| 仓库 | https://github.com/Pana/nrm |
| 上游文档 | https://github.com/Pana/nrm#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/nrm/-/nrm-2.1.0.tgz |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nrm |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nrm
nix profile install nixpkgs#nrm来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.