Operations 6 min read

Mastering inxi: Install, Use, and Customize System Info on Linux

This guide explains what the inxi command‑line tool is, how to install it on various Linux distributions, and demonstrates its most useful options for displaying system, battery, CPU, combined, and weather information, along with tips for customizing output colors.

Liangxu Linux
Liangxu Linux
Liangxu Linux
Mastering inxi: Install, Use, and Customize System Info on Linux

What is inxi?

inxi is a GPL‑v3 licensed command‑line utility that provides detailed information about a Linux system, ranging from basic hardware specs to advanced sensor data. Its repository is hosted on GitHub and it aims to support a wide variety of hardware and operating systems.

Installation

Install inxi from your distribution’s package manager. Examples:

$ sudo dnf install inxi
$ sudo apt install inxi

More installation options are listed on the official website.

Basic usage

The simplest command inxi -b prints a concise overview of the system, including kernel version, desktop environment, CPU model, battery status, and storage usage.

Key options

Battery status : inxi -B shows battery ID, charge level, and health.

CPU information : inxi -C displays CPU model, core count, cache size, and clock speeds.

Combined output : combine options, e.g., inxi -S -v for detailed system info.

Weather : inxi -w reports local weather; use -W city,country to query other locations.

Color customization

inxi’s output is colored by default. Adjust the color scheme with -c N, where N is a number from 0 to 42. For example: $ inxi -c 5 Choose a scheme that improves readability for your terminal.

Conclusion

inxi is a versatile tool for quickly gathering comprehensive system information on Linux. By installing it and learning a few key options, you can monitor hardware health, performance, and even local weather directly from the command line.

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.

LinuxInstallationterminalSystem Informationhardware monitoringinxi
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.