Master Linux System Info with Inxi: Install, Configure, and Use
This guide explains what the lightweight inxi utility does, how to install it via package managers or source, and demonstrates its various options for displaying system, hardware, network, disk, memory, weather, and color‑customized information on Linux.
What is inxi?
Inxi is a free, open‑source command‑line tool that generates comprehensive Linux system and hardware information. It can be run directly in a terminal or through IRC clients such as Konversation, Xchat, Weechat, etc.
Installation
Most distributions provide inxi in their official repositories, so you can install it with the default package manager. For example, on Ubuntu: sudo apt install inxi To obtain the latest version, download the source archive and copy the script to /usr/bin:
wget https://github.com/smxi/inxi/archive/refs/tags/3.3.04-1.tar.gz tar -xzvf 3.3.04-1.tar.gz cd inxi-3.3.04-1 sudo cp inxi /usr/bin/ inxiBasic usage
Display basic system information: inxi -b Display full details:
inxi -FCustomising output colour
Change the colour scheme with -c or --color (0‑42). Example: inxi -b -c31 Use a global colour scheme (e.g., 99):
inxi -b -c99Specific information categories
System information
Audio devices
Battery status
CPU details
Disk and memory usage
Machine data
Bluetooth and USB devices
Graphics devices
Network devices
Partition information
Logical volume information
Linux distribution repository data
RAID data
Sensor readings
Weather forecast
Disk and memory
Combine options to show both disk and memory details: sudo inxi -Dm or sudo inxi -D -m or sudo inxi --disk --memory Note: the --memory option may require root privileges because it uses dmidcode.
Weather reports
Generate a weather forecast for a location with --weather or -w. The location, data source, and units can be overridden by passing values as arguments.
Network details
Retrieve driver, MAC address, interface, and IP information using -n (or --network-advanced) together with -i (or --ip).
Full option reference
For a complete list of available switches, run:
inxi --helpSigned-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.
