Operations 4 min read

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

Learn how to install the pinfo tool across major Linux, BSD, and macOS distributions and use it to view Texinfo documentation with syntax‑highlighted colors, including command examples, navigation shortcuts, and alias configuration for a richer command‑line experience.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
Install and Use pinfo for Colorful Info Pages on Linux and Unix

Install pinfo

You can install pinfo on various Linux and Unix‑like systems as follows:

Debian/Ubuntu : # apt-get install pinfo FreeBSD :

# cd /usr/ports/misc/pinfo && make install clean

or # sudo pkg install pinfo CentOS/RHEL 8.x and Fedora : # sudo dnf install pinfo Arch Linux : # sudo pacman -S pinfo OpenSUSE/SUSE Enterprise Linux : # sudo zypper in pinfo macOS (with Homebrew) :

# brew install pinfo

How to use the pinfo command

Syntax is simple: pinfo page pinfo command

To read a Bash info page with the standard info command: # info bash Then view the same page with color using pinfo:

# pinfo bash

You can create an alias so that info automatically invokes pinfo by adding the following line to your ~/.bashrc: alias info='pinfo' Navigation keys within pinfo:

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 the link

Q – quit

pinfo

Summary

For users of Linux, FreeBSD, and other Unix‑like systems, pinfo provides a friendly, console‑based viewer for Texinfo documentation with color highlighting. It offers several options; see its manual page for more 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.

LinuxUnixcolorful outputinfo pagespinfo
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

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.