Operations 5 min read

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.

Liangxu Linux
Liangxu Linux
Liangxu Linux
Install and Use pinfo for Colorful Info Pages on Linux/Unix

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 clean

Or 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 pinfo

Using pinfo

The basic syntax is:

pinfo page
pinfo command

For example, to view the Bash info page with colors:

# info bash

Now display it with pinfo:

# pinfo bash

To 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.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Unixterminalcommand-linepinfoTexinfo
Liangxu Linux
Written by

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.)

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.