# nmh を Homebrew, apk, apt, dnf, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:nmh
```

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

### macOS

- Homebrew (100%):

```sh
brew install nmh
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add nmh
```

  証拠: Alpine Linux edge package indexes: nmh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install nmh
```

  証拠: Debian stable package indexes: nmh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install nmh
```

  証拠: Fedora Rawhide package metadata: nmh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#nmh
```

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

- zypper (92%):

```sh
sudo zypper install nmh
```

  証拠: openSUSE Tumbleweed package metadata: nmh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:nmh
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.8
- **ソース概要:** New version of the MH mail handler
- **ホームページ:** <https://www.nongnu.org/nmh/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- anno (エイリアス)
- burst (エイリアス)
- comp (エイリアス)
- flist (エイリアス)
- flists (エイリアス)
- fmttest (エイリアス)
- fnext (エイリアス)
- folder (エイリアス)
- folders (エイリアス)
- forw (エイリアス)
- fprev (エイリアス)
- inc (エイリアス)
- install-mh (エイリアス)
- mhbuild (エイリアス)
- mhfixmsg (エイリアス)
- mhical (エイリアス)
- mhlist (エイリアス)
- mhlogin (エイリアス)
- mhmail (エイリアス)
- mhn (エイリアス)
- mhparam (エイリアス)
- mhpath (エイリアス)
- mhshow (エイリアス)
- mhstore (エイリアス)
- msgchk (エイリアス)
- new (エイリアス)
- next (エイリアス)
- packf (エイリアス)
- pick (エイリアス)
- prev (エイリアス)
- prompter (エイリアス)
- refile (エイリアス)
- repl (エイリアス)
- rmf (エイリアス)
- rmm (エイリアス)
- scan (エイリアス)
- send (エイリアス)
- sendfiles (エイリアス)
- show (エイリアス)
- sortm (エイリアス)
- unseen (エイリアス)
- whatnow (エイリアス)
- whom (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

nmh is the maintained 'new MH' implementation of the MH message handling system: a Unix mail environment made from many small commands rather than one monolithic mail client.

### プロジェクトの歴史

MH predates nmh by decades. RAND's 1979 user's manual describes MH as a UNIX shell-driven mail system where each mail activity is a separate command and each message is stored as a separate file in a folder directory. nmh continued that model as a mostly compatible replacement for MH, based on MH 6.8.3 from RAND and the University of California.

The nmh FAQ describes the fork as a response to the languishing state of MH: Richard Coleman created nmh from MH 6.8.3, added GNU autoconf, and fixed bugs and inconsistencies. Later maintainers moved the project infrastructure to Savannah, which remains the official source location.

### 採用の歴史

nmh is niche by modern mail-client standards but important to Unix mail traditionalists because it preserves the MH composition model: commands such as inc, scan, show, repl, forw, refile, pick, sortm, and rmm compose naturally with shell scripts. The project page also points to front ends such as exmh and mh-e, showing that nmh is both an end-user toolkit and a substrate for other mail interfaces.

Package-manager coverage across Homebrew, Debian/Ubuntu, Fedora, Alpine, Nix, and openSUSE reflects long-tail adoption rather than hype adoption. Its value is continuity: scripts, habits, and mail stores built around MH semantics can keep working on contemporary Unix-like systems.

### 使われ方

Package nerds use nmh when they want mail to be shell-native. Typical workflows initialize a profile, incorporate messages into MH folders, scan folders, show or reply to individual messages, refile mail by shell command, and use pick/sortm/mhpath/mhparam in scripts. The practical appeal is that the mailbox is regular files plus small commands, so grep, find, cron, editors, and shell aliases remain first-class tools.

The tradeoff is intentional: nmh is not a turnkey GUI mail app. It rewards users who want explicit control over message storage, composition drafts, aliases, profile settings, and MIME handling.

### パッケージ好きにとっての重要性

nmh matters because it is a living bridge from early Unix mail design to present package ecosystems. It is a good example of a package whose significance is architectural and historical rather than measured by broad consumer adoption.

### タイムライン

- {'event': "RAND published The MH Message Handling System: User's Manual, documenting the shell-command and per-message-file model that nmh inherits.", 'year': '1979'}
- {'event': 'Richard Coleman created nmh from MH 6.8.3 after MH development slowed, adding GNU autoconf and cleanup work according to the MH/nmh FAQ.', 'year': '1990s'}
- {'event': 'nmh development infrastructure moved to Savannah and continued through the nmh-workers community.', 'year': '2000s'}

### Related projects

- RAND MH
- exmh
- mh-e
- mmh

### ソース

- <https://raw.githubusercontent.com/mcr/nmh/master/docs/FAQ>
- <https://www.mankier.com/package/nmh>
- <https://www.nongnu.org/nmh/>
- <https://www.nongnu.org/nmh/old.html>
- <https://www.rand.org/pubs/reports/R2367.html>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.mh_profile
## 他のパッケージマネージャ記録

- Debian apt - nmh - 1.8-3: normalized package name match | Debian stable package indexes: nmh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | set of electronic mail handling programs
- Nix - nmh: normalized package name match | nixpkgs package indexes: pkgs/by-name/nm/nmh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nmh - 1.8-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: nmh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | set of electronic mail handling programs
- apk - nmh - 1.8-r3: normalized package name match | Alpine Linux edge package indexes: nmh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Powerful electronic mail handling system | https://www.nongnu.org/nmh/
- apk - nmh-doc - 1.8-r3: normalized package name match | Alpine Linux edge package indexes: nmh-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Powerful electronic mail handling system (documentation) | https://www.nongnu.org/nmh/
- dnf - nmh - 1.8-12.fc45: normalized package name match | Fedora Rawhide package metadata: nmh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A capable MIME-email-handling system with a command-line interface | https://savannah.nongnu.org/projects/nmh
- zypper - nmh - 1.8-1.7: normalized package name match | openSUSE Tumbleweed package metadata: nmh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Unix Mail Handler | https://www.nongnu.org/nmh/


## Combined YAML source

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


## ソース

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