macOS
brew install help2manprovider-native install command
brew / rank 1543
Automatically generate simple man pages. Version 1.49.3 via Homebrew; verified 2026-06-22.
install
brew install help2manprovider-native install command
overview
Automatically generate simple man pages
history
GNU help2man generates simple manual pages from a program's `--help` and `--version` output. It exists for the Unix packaging gap where a program has useful command-line help or Texinfo documentation, but distributors and users still expect a traditional section-1 man page.
help2man was written by Brendan O'Dea. The 1.021 README from April 2000 describes the tool as a script for creating simple man pages from help and version output, and the 1.022 NEWS entry in July 2000 says help2man became an official GNU program.
The GNU README explains the historical reason for the tool: much GNU documentation lived in Info format, while man pages remained expected in Unix environments. help2man provided a way to generate placeholder or useful man pages from the executable itself rather than maintaining a separate roff document by hand.
Over time the project added options for source/manual headers, localized manual pages, gettext support, Translation Project integration, GPLv3 licensing, reproducible-build date handling through `SOURCE_DATE_EPOCH`, and support for modern version-string patterns.
help2man became common in GNU and distro build systems because it solved a mundane packaging requirement with little maintenance burden. It is packaged across Homebrew, Debian, Fedora, Arch, Alpine, MacPorts, Nix, and other systems, which matches its role as a build-time documentation utility rather than an end-user application.
Its adoption is strongly tied to Autotools-era release culture: generated tarballs often include man pages, while maintainers can derive them from command output during release preparation or packaging.
The core command is `help2man [OPTION]... EXECUTABLE`; help2man runs the target program's help and version options, parses the output, and emits a manual page. Options customize the NAME paragraph, section, source, manual title, include snippets, locale, and the exact help/version flags.
The tool works best for commands whose `--help` output follows GNU-style conventions. For richer pages, maintainers add include files or post-process generated sections rather than writing the whole man page manually.
help2man is a classic package-maintainer tool: it turns CLI self-description into a distro-friendly artifact. That makes it important in build recipes, release scripts, and reproducible packaging, even though users rarely invoke it directly after installation.
It also reflects a GNU documentation compromise. Texinfo may be the canonical manual format for many GNU tools, but package managers, lint tools, and Unix users still reward having a man page installed in the expected location.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
help2man | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:help2man |
|---|---|
| Version | 1.49.3 |
| Package manager | Homebrew |
| Homepage | https://www.gnu.org/software/help2man/ |
| Last updated | 2026-06-22T14:03:42-07:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.