Automic VaultAutomic Vault

brew

Install nmh with Homebrew, apk, apt, dnf, Nix, zypper

New version of the MH mail handler. Version 1.8 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nmh

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add nmh

Alpine Linux edge package indexes · nmh · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install nmh

Debian stable package indexes · nmh · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install nmh

Fedora Rawhide package metadata · nmh · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#nmh

nixpkgs package indexes · pkgs/by-name/nm/nmh/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install nmh

openSUSE Tumbleweed package metadata · nmh · source: download.opensuse.org

overview

Package summary

New version of the MH mail handler

Commands and aliases

  • 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
  • prev
  • prompter
  • refile
  • repl

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • {'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

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:repl

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.mh_profile

executables

Installed executables

CommandKindExposureNote
annocliglobal executable
burstcliglobal executable
compcliglobal executable
flistcliglobal executable
flistscliglobal executable
fmttestcliglobal executable
fnextcliglobal executable
foldercliglobal executable
folderscliglobal executable
forwcliglobal executable
fprevcliglobal executable
inccliglobal executable
install-mhcliglobal executable
mhbuildcliglobal executable
mhfixmsgcliglobal executable
mhicalcliglobal executable
mhlistcliglobal executable
mhlogincliglobal executable
mhmailcliglobal executable
mhncliglobal executable
mhparamcliglobal executable
mhpathcliglobal executable
mhshowcliglobal executable
mhstorecliglobal executable
msgchkcliglobal executable
newcliglobal executable
nextcliglobal executable
packfcliglobal executable
prevcliglobal executable
promptercliglobal executable
refilecliglobal executable
replcliglobal executable
rmfcliglobal executable
rmmcliglobal executable
scancliglobal executable
sendcliglobal executable
sendfilescliglobal executable
showcliglobal executable
sortmcliglobal executable
unseencliglobal executable
whatnowcliglobal executable
whomcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.8
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.nongnu.org/nmh/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.nongnu.org/nmh/none confidence

install metadata

Package metadata

Package keybrew:nmh
Version1.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nmh
Homepagehttps://www.nongnu.org/nmh/
Repositoryhttps://git.savannah.nongnu.org/git/nmh.git
Upstream docshttps://www.nongnu.org/nmh
LicenseBSD-3-Clause
Source archivehttps://download.savannah.gnu.org/releases/nmh/nmh-1.8.tar.gz
Dependenciesopenssl@3, w3m
Uses from macOScyrus-sasl, ncurses
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenmh
Version Scheme0
Revision1
Head VersionHEAD
Conflicts With
  • ali
  • cargo-dist
  • pick
  • repl
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

nmh 1.8-3

set of electronic mail handling programs

sudo apt install nmh
  • Section: mail
  • Architecture: amd64
  • 12 dependencies
  • 2 provides
  • 8 optional deps
  • normalized package name match
  • Matched by: Nmh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nmh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nmh

nix profile install nixpkgs#nmh
  • normalized package name match
  • Matched by: Nmh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nm/nmh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

nmh 1.8-1build4

set of electronic mail handling programs

sudo apt install nmh
  • Section: universe/mail
  • Architecture: amd64
  • 12 dependencies
  • 2 provides
  • 8 optional deps
  • normalized package name match
  • Matched by: Nmh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nmh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nmh 1.8-r3

Powerful electronic mail handling system

https://www.nongnu.org/nmh/

sudo apk add nmh
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: nmh
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nmh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nmh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nmh-doc 1.8-r3

Powerful electronic mail handling system (documentation)

https://www.nongnu.org/nmh/

sudo apk add nmh-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: nmh
  • normalized package name match
  • Matched by: Nmh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nmh-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

nmh 1.8-10.fc44

A capable MIME-email-handling system with a command-line interface

https://savannah.nongnu.org/projects/nmh

sudo dnf install nmh
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nmh
  • 11 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Nmh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nmh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

nmh 1.8-1.5

Unix Mail Handler

https://www.nongnu.org/nmh/

sudo zypper install nmh
  • License: BSD-3-Clause
  • Category: Productivity/Networking/Email/Clients
  • Architecture: x86_64
  • Source Package: nmh
  • 6 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Nmh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nmh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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