# 使用 Homebrew, apt, Nix 安装 nmrpflash

查看 nmrpflash 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:nmrpflash
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nmrpflash
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install nmrpflash
```

  证据: Debian stable package indexes: nmrpflash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#nmrpflash
```

  证据: nixpkgs package indexes: pkgs/by-name/nm/nmrpflash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:nmrpflash
- **软件包管理器:** Homebrew
- **版本:** 0.9.27
- **来源摘要:** Netgear Unbrick Utility
- **主页:** <https://github.com/jclehner/nmrpflash>
- **仓库:** <https://github.com/jclehner/nmrpflash>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- nmrpflash (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.9.27
## 项目历史与用法

nmrpflash is a small recovery utility for flashing firmware to Netgear devices through Netgear's NMRP recovery protocol.

### 项目历史

The project was introduced to the OpenWrt community on February 10, 2016 as an unbrick utility for Netgear routers using the NMRP protocol. The first public discussion already framed the tool around recovery rather than general firmware management, with the author asking other Netgear owners to test additional models.

The upstream README describes nmrpflash as a cross-platform C utility for Linux, macOS, Windows, the BSDs, and other POSIX-like systems. Later releases and packaging turned it from a forum-linked recovery helper into a packaged command available through Homebrew and Debian-derived systems.

### 采用历史

Adoption is concentrated in router recovery and OpenWrt/DD-WRT-style communities. The README lists many tested Netgear models and warns about image format compatibility, which matches how users actually find the tool: after a failed flash, vendor firmware problem, or router that only exposes the bootloader recovery path.

Debian source packaging and the Homebrew formula make the tool easier to install on ordinary admin laptops. Homebrew is especially practical because the upstream README recommends it on Linux and macOS while warning that some distro packages may lag.

### 使用方式

The common workflow is direct and timing-sensitive: download the correct Netgear firmware image, connect the router by Ethernet, list local interfaces with nmrpflash -L, start nmrpflash with -i and -f, then power on the router when the tool is waiting. Successful sessions advertise an NMRP server, receive a configuration request, upload firmware by TFTP, wait for the device to finish, and tell the user to reboot.

Package nerds keep it around because it is one of those rare tools that can turn an otherwise dead consumer router into working hardware. The sharp edges are part of the job: firewall rules, static IPs, Npcap on Windows, NMRP timing, model-specific image formats, and long flash-write waits.

### 为什么软件包爱好者会关心

nmrpflash is not a broad networking platform; it is a focused hardware-rescue package. Its significance is that it wraps a vendor recovery protocol in a reproducible open-source command, making debricking less dependent on opaque vendor GUIs or Windows-only tools.

### 时间线

- {'date': '2016-02-10', 'event': 'The author announced nmrpflash on the OpenWrt forum archive as a Netgear NMRP unbrick utility.'}
- {'date': '2026-03-05', 'event': 'The GitHub repository page listed nmrpflash 0.9.27 as the latest release.'}

### Related projects

- OpenWrt
- Netgear NMRP
- Npcap
- TFTP

### 来源

- <https://formulae.brew.sh/formula/nmrpflash>
- <https://forum.archive.openwrt.org/viewtopic.php?id=62656>
- <https://github.com/jclehner/nmrpflash>
- <https://sources.debian.org/src/nmrpflash/0.9.14-16-ge95526d-4/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - nmrpflash - 0.9.14-16-ge95526d-4+b1: normalized package name match | Debian stable package indexes: nmrpflash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | firmware flash utility for Netgear devices | https://github.com/jclehner/nmrpflash
- Nix - nmrpflash: normalized package name match | nixpkgs package indexes: pkgs/by-name/nm/nmrpflash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nmrpflash - 0.9.14-16-ge95526d-4build2: normalized package name match | Ubuntu 24.04 LTS package indexes: nmrpflash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | firmware flash utility for Netgear devices | https://github.com/jclehner/nmrpflash


## Combined YAML source

View the package source record on GitHub. [combined/nmrpflash.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nmrpflash.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
