# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nmrpflash>
- **版本:** 0.9.27
- **来源摘要:** Netgear Unbrick Utility
- **主页:** <https://github.com/jclehner/nmrpflash>
- **仓库:** <https://github.com/jclehner/nmrpflash>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/jclehner/nmrpflash/archive/refs/tags/v0.9.27.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- nmrpflash (cli)
- nmrpflash (别名)

## 构建依赖

- pkgconf

## macOS 提供的库

- libpcap

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.27
- 本地数据: OK
- 上游仓库: https://github.com/jclehner/nmrpflash
- 检测到的最新版本: v0.9.27 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nmrpflash
- **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

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

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [c-ares](https://pkg.so/zh-hans/brew/c-ares/) - Shares pkgdb curated category or tags: cli, networking.
- [unbound](https://pkg.so/zh-hans/brew/unbound/) - Shares pkgdb curated category or tags: cli, networking.
- [curl](https://pkg.so/zh-hans/brew/curl/) - Shares pkgdb curated category or tags: cli, networking.
- [libidn2](https://pkg.so/zh-hans/brew/libidn2/) - Shares pkgdb curated category or tags: cli, networking.
- [openldap](https://pkg.so/zh-hans/brew/openldap/) - Shares pkgdb curated category or tags: cli, networking.
- [wget](https://pkg.so/zh-hans/brew/wget/) - Shares pkgdb curated category or tags: cli, networking.
- [librist](https://pkg.so/zh-hans/brew/librist/) - Shares pkgdb curated category or tags: cli, networking.
- [cloudflared](https://pkg.so/zh-hans/brew/cloudflared/) - Shares pkgdb curated category or tags: cli, networking.
- [ggh](https://pkg.so/zh-hans/brew/ggh/) - Local package facts share a topical domain. Shared terms: cli, management, networking.
- [lazyssh](https://pkg.so/zh-hans/brew/lazyssh/) - Local package facts share a topical domain. Shared terms: cli, management, networking.
- [mmdbctl](https://pkg.so/zh-hans/brew/mmdbctl/) - Local package facts share a topical domain. Shared terms: cli, management, networking.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
