# Install nrm with Homebrew, Nix

NPM registry manager, fast switch between different registries. Version 2.1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:nrm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nrm
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nrm
```

  Evidence: nixpkgs package indexes: pkgs/by-name/nr/nrm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:nrm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/nrm>
- **Version:** 2.1.0
- **Source summary:** NPM registry manager, fast switch between different registries
- **Homepage:** <https://github.com/Pana/nrm>
- **Repository:** <https://github.com/Pana/nrm>
- **Upstream docs:** <https://github.com/Pana/nrm#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/nrm/-/nrm-2.1.0.tgz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- nrm (cli)
- nrm (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.1.0
- Local data: ok
- Upstream repository: https://github.com/Pana/nrm
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2014-02-28: GitHub repository created and npm package creation timestamp recorded.
- 2024-11-30: v1.5.0 release added local registry setting support.
- 2024-12-08: v2.0.0 release migrated the project to TypeScript.
- 2025-07-12: v2.1.0 release fixed invalid `home` field handling in `.npmrc`.

### Sources

- <https://api.npmjs.org/downloads/point/last-month/nrm>
- <https://formulae.brew.sh/api/formula/nrm.json>
- <https://github.com/Pana/nrm>
- <https://github.com/Pana/nrm/releases>
- <https://registry.npmjs.org/nrm>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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:** stable

## Other Package-Manager Records

- Nix - nrm: normalized package name match | nixpkgs package indexes: pkgs/by-name/nr/nrm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [corepack](https://www.automicvault.com/pkg/brew/corepack/) - Shares av.db curated category or tags: cli, developer-tools, javascript, nodejs, npm.
- [patch-package](https://www.automicvault.com/pkg/brew/patch-package/) - Shares av.db curated category or tags: cli, developer-tools, nodejs, npm, package-management.
- [pnpm](https://www.automicvault.com/pkg/brew/pnpm/) - Shares av.db curated category or tags: cli, developer-tools, javascript, nodejs, package-management.
- [install-peerdeps](https://www.automicvault.com/pkg/brew/install-peerdeps/) - Shares av.db curated category or tags: cli, developer-tools, javascript, npm, package-management.
- [ni](https://www.automicvault.com/pkg/brew/ni/) - Shares av.db curated category or tags: cli, developer-tools, nodejs, npm, package-management.
- [npm-check-updates](https://www.automicvault.com/pkg/brew/npm-check-updates/) - Shares av.db curated category or tags: cli, developer-tools, nodejs, npm, package-management.
- [qnm](https://www.automicvault.com/pkg/brew/qnm/) - Shares av.db curated category or tags: cli, developer-tools, javascript, nodejs, npm.
- [cargo-binstall](https://www.automicvault.com/pkg/brew/cargo-binstall/) - Shares av.db curated category or tags: cli, developer-tools, package-management.

## Combined YAML source

View the package source record on GitHub. [combined/nrm.yml](https://github.com/automic-vault/db/blob/main/combined/nrm.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
