Install and Use pinfo for Colorful Info Pages on Linux/Unix
This guide explains what pinfo is, how to install it on various Linux, BSD and macOS distributions, and how to use its colored Texinfo viewer with practical commands, navigation shortcuts, and alias configuration.
pinfo is a little‑known command‑line tool that renders Texinfo documentation with colors, making it handy when a graphical environment is unavailable.
Installation
Debian/Ubuntu : # apt-get install pinfo Sample output shows the package being fetched and installed.
FreeBSD (ports):
# cd /usr/ports/misc/pinfo && make install cleanOr using the binary package manager: # sudo pkg install pinfo CentOS/RHEL 8.x and Fedora : # sudo dnf install pinfo Arch Linux : # sudo pacman -S pinfo OpenSUSE / SUSE Enterprise : # sudo zypper in pinfo macOS (requires Homebrew):
# brew install pinfoUsing pinfo
The basic syntax is:
pinfo page
pinfo commandFor example, to view the Bash info page with colors:
# info bashNow display it with pinfo:
# pinfo bashTo create a shortcut, add an alias to ~/.bashrc:
alias info='pinfo'Navigation keys
N – go to the next page
P – go to the previous page
U – return to the last visited page
Press Enter on a cross‑reference (words starting with *) to follow it
Q – quit pinfo
Conclusion
For users of Linux, FreeBSD and other Unix‑like systems, pinfo provides a friendly, console‑based viewer for Info documentation with many options; see its man page for further details.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
