macOS
brew install mandoclocal Homebrew formula metadata
sudo port install mandocMacPorts ports tree · textproc/mandoc/Portfile · source: api.github.com
brew
UNIX manpage compiler toolset. Version 1.14.6 via Homebrew; verified from local package data.
install
brew install mandoclocal Homebrew formula metadata
sudo port install mandocMacPorts ports tree · textproc/mandoc/Portfile · source: api.github.com
sudo apk add mandocAlpine Linux edge package indexes · mandoc · source: dl-cdn.alpinelinux.org
sudo apt install mandocDebian stable package indexes · mandoc · source: deb.debian.org
sudo dnf install libmandoc-develFedora Rawhide package metadata · libmandoc-devel · source: dl.fedoraproject.org
nix profile install nixpkgs#mandocnixpkgs package indexes · pkgs/by-name/ma/mandoc/package.nix · source: api.github.com
sudo pacman -S mandocArch Linux sync databases · mandoc · source: geo.mirror.pkgbuild.com
sudo zypper install mandocopenSUSE Tumbleweed package metadata · mandoc · source: download.opensuse.org
scoop install main/mandocScoop official bucket manifest trees · bucket/mandoc.json · source: api.github.com
overview
UNIX manpage compiler toolset
history
mandoc is a small, ISC-licensed Unix manual-page compiler toolset. Its official site describes it as compiling `mdoc`, `man`, and related roff manual sources to terminal output, HTML 5, PostScript, and PDF, with development centered on OpenBSD and BSD.lv.
The mandoc development history traces the project through the older `mdocml` name and rapid 2009 development by Kristaps Dzonsons, including releases around March and April 2009 and OpenBSD integration work. The `mandoc` name replaced `mdocterm` in March 2009, and the tool became closely associated with OpenBSD integration after cooperation between Kristaps Dzonsons and Ingo Schwarze.
The mandoc utility first appeared in OpenBSD 4.8. Over time it grew from a focused `mdoc` formatter into a broader toolset including `mandoc`, `man`, `apropos`, `makewhatis`, `catman`, `demandoc`, CGI support, database support, linting, HTML output, markdown output for `mdoc`, and related developer-facing libraries.
The official packages and ports page records broad adoption across BSDs and Linux distributions. OpenBSD bundled mandoc in the base system in 2010 and made it the default formatter, searcher, and viewer over later milestones; FreeBSD, NetBSD, DragonFly BSD, illumos, macOS, Alpine, Void, Debian, Ubuntu, Fedora, openSUSE, Gentoo, NixOS, and others have packages or integrations.
That adoption matters because mandoc is not just another formatter: on several systems it replaces or complements groff/man-db for everyday `man` and `apropos` usage, making it part of the base documentation experience.
At the CLI, `mandoc` reads `mdoc` or `man` input from files or stdin, auto-detects the language, and formats it for terminal display or other outputs. Output modes include ASCII, locale, UTF-8, HTML, man, markdown for `mdoc`, PDF, PostScript, and parse-tree output.
The `man.conf` manual documents `/etc/man.conf` as the configuration file for the mandoc-family `man`, `apropos`, and `makewhatis` utilities. Its directives can set manual search paths and output options, and the file is optional.
mandoc is significant to package maintainers because it is a lean alternative to full troff/groff stacks for manual-page rendering and validation. It is small, fast, portable C, and its linting helps find bad manual-page markup before packages ship.
It also has practical downstream impact: whether a system uses mandoc, man-db, groff, or a combination changes man-page rendering, HTML generation, apropos databases, and default configuration files.
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.
local files
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.
Config paths the tool may read or write during local use.
/etc/man.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bsdapropos | cli | global executable | |
bsdmakewhatis | cli | global executable | |
bsdman | cli | global executable | |
bsdsoelim | cli | global executable | |
bsdwhatis | cli | global executable | |
demandoc | cli | global executable | |
mandoc | 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.
install metadata
| Package key | brew:mandoc |
|---|---|
| Version | 1.14.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mandoc |
| Homepage | https://mandoc.bsd.lv/ |
| Repository | https://mandoc.bsd.lv/cgi-bin/cvsweb/mandoc |
| Upstream docs | https://mandoc.bsd.lv/ |
| License | ISC |
| Source archive | https://mandoc.bsd.lv/snapshots/mandoc-1.14.6.tar.gz |
| 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 | mandoc |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| 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.
mandoc 1.14.6-4
BSD manpage compiler toolset
sudo apt install mandocmandoc
nix profile install nixpkgs#mandocmandoc 1.14.6-1
BSD manpage compiler toolset
sudo apt install mandocmandoc 1.14.6-r15
mandoc (formerly mdocml) UNIX manpage compiler toolset
sudo apk add mandocmandoc-apropos 1.14.6-r15
makewhatis/whatis and apropos tools and index
sudo apk add mandoc-aproposmandoc-dev 1.14.6-r15
mandoc (formerly mdocml) UNIX manpage compiler toolset (development files)
sudo apk add mandoc-devmandoc-doc 1.14.6-r15
mandoc (formerly mdocml) UNIX manpage compiler toolset (documentation)
sudo apk add mandoc-docmandoc-soelim 1.14.6-r15
so elimination tool
sudo apk add mandoc-soelimlibmandoc-devel 1.14.6-13.fc44
Development libraries and headers for libmandoc
sudo dnf install libmandoc-develmandoc 1.14.6-13.fc44
A suite of tools for compiling mdoc and man
sudo dnf install mandocmandoc 1.14.6-5
A suite of tools compiling mdoc from the OpenBSD project
sudo pacman -S mandocmandoc 1.14.6-7.3
UNIX manpage compiler
sudo zypper install mandocmandoc-bin 1.14.6-7.3
Format manual pages
sudo zypper install mandoc-binmandoc
sudo port install mandocmain/mandoc
scoop install main/mandocsource 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.