macOS
brew install help2manlocal Homebrew formula metadata
sudo port install help2manMacPorts ports tree · textproc/help2man/Portfile · source: api.github.com
brew
Automatically generate simple man pages. Version 1.49.3 via Homebrew; verified 2026-06-22.
install
brew install help2manlocal Homebrew formula metadata
sudo port install help2manMacPorts ports tree · textproc/help2man/Portfile · source: api.github.com
sudo apk add help2manAlpine Linux edge package indexes · help2man · source: dl-cdn.alpinelinux.org
sudo apt install help2manDebian stable package indexes · help2man · source: deb.debian.org
sudo dnf install help2manFedora Rawhide package metadata · help2man · source: dl.fedoraproject.org
nix profile install nixpkgs#help2mannixpkgs package indexes · pkgs/by-name/he/help2man/package.nix · source: api.github.com
sudo pacman -S help2manArch Linux sync databases · help2man · source: geo.mirror.pkgbuild.com
sudo zypper install help2manopenSUSE Tumbleweed package metadata · help2man · source: download.opensuse.org
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 | cli | global executable |
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.
https://www.gnu.org/software/help2man/
install metadata
| Package key | brew:help2man |
|---|---|
| Version | 1.49.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/help2man |
| Homepage | https://www.gnu.org/software/help2man/ |
| Repository | https://salsa.debian.org/bod/help2man |
| Upstream docs | https://www.gnu.org/software/help2man |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/help2man/help2man-1.49.3.tar.xz |
| Last updated | 2026-06-22T14:03:42-07:00 |
| Pulse | updated |
| Dependencies | gettext |
| Uses from macOS | perl |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | help2man |
| Version Scheme | 0 |
| Revision | 4 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
help2man 1.49.3
Automatic manpage generator
sudo apt install help2manhelp2man
nix profile install nixpkgs#help2manhelp2man 1.49.3
Automatic manpage generator
sudo apt install help2manhelp2man 1.49.3-r2
Create simple man pages from --help output
https://www.gnu.org/software/help2man
sudo apk add help2manhelp2man-doc 1.49.3-r2
Create simple man pages from --help output (documentation)
https://www.gnu.org/software/help2man
sudo apk add help2man-dochelp2man 1.49.3-9.fc44
Create simple man pages from --help output
https://www.gnu.org/software/help2man/
sudo dnf install help2manhelp2man 1.49.3-2
Conversion tool to create man files
https://www.gnu.org/software/help2man/
sudo pacman -S help2manhelp2man 1.49.3-1.13
Script for generating man pages from --help output
https://www.gnu.org/software/help2man/
sudo zypper install help2manhelp2man-lang 1.49.3-1.13
Translations for package help2man
https://www.gnu.org/software/help2man/
sudo zypper install help2man-langhelp2man
sudo port install help2mansource 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.