# nrm を Homebrew, Nix でインストール

nrm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install nrm
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:nrm
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.1.0
- **ソース概要:** NPM registry manager, fast switch between different registries
- **ホームページ:** <https://github.com/Pana/nrm>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- nrm (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.1.0
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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`.

### ソース

- <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>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- 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


## Combined YAML source

View the package source record on GitHub. [combined/nrm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nrm.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
