AptLynx

Command-line tool

groff

brew/groff

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

GNU troff text-formatting system

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install groff

Linux

brew install groff

Format output for a PostScript printer, saving the output to a file

groff path/to/input.roff > path/to/output.ps

Render a man page using the ASCII output device, and display it using a pager

groff -man -T ascii path/to/manpage.1 | less --RAW-CONTROL-CHARS

Render a man page into an HTML file

groff -man -T html path/to/manpage.1 > path/to/manpage.html

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents