How to Install Neofetch on CentOS 9 Stream

Neofetch is a free, open-source command-line system information tool written in bash 3.2+. Neofetch displays system information in a beautiful aesthetic way, such as system, software, memory resources, kernel version, etc.

In the following tutorial, you will learn how to install Neofetch on CentOS 9 Stream using the command line terminal and how to use the terminal commands to achieve more with Neofetch.

Update CentOS Stream

First, update your system to ensure all existing packages are up to date to avoid conflicts.

sudo dnf upgrade --refresh

Import EPEL Repository

The first task is to install the (EPEL) repository, which stands for (Extra Packages for Enterprise Linux). For newer users of CentOS Stream and similar distributions based on RHEL, EPEL contains the most commonly used software packages for Enterprise Linux.

First, enable the CRB.

sudo dnf config-manager --set-enabled crb

Next, install EPEL using the following (dnf) terminal command.

sudo dnf install \ \

Install Neofetch

With the EPEL repository now imported, you can install Neofetch using the following command.

sudo dnf install neofetch -y

Once installed, verify the installation and build using the neofetch –version command.

neofetch --version

How to use Neofetch Commands

How to use Neofetch is straightforward for the most part. The most typical command to use Neofetch is to do a printout of your system specs. In your terminal, use the following command.


Example output:

How to Install Neofetch on CentOS 9 Stream

As above, the default information that is printed is as follows.

OS:Operating System Name and Version.
Host:PC or Server Name.
Kernel:The Linux Kernel version and build.
Uptime:The system uptime since start/reboot.
Packages:Installed Package Managers with package count.
Shell:Installed shell version.
Resolution:Monitor resolution.
DE:The installed user interface (Desktop Environment).
WM:Type of Window manager in use.
WM Theme:The Windows Manager theme.
Theme:The installed user interface theme.
Icons:The installed Icon Pack.
Terminal:The default terminal is in use.
CPU:The processor and performance
GPU:The installed graphics card.
Memory:Memory amount used and available.

However, neofetch is more capable of giving customized options. The good idea is to use the neofetch –help command.

neofetch --help

When using neofetch, the command used the –option and value syntax.

neofetch func_name --option "value" --option "value"

For example, if you want to print out your system uptime, use the following command.

neofetch uptime --uptime_shorthand tiny

Example output:

uptime: 9m

Another example is checking memory and uptime, and you can specify multiples.

neofetch uptime disk wm memory

Example output:

How to Install Neofetch on CentOS 9 Stream

Row to Remove (Uninstall) Neofetch

Users that no longer wish to have Neofetch installed on their system use the following command.

sudo dnf autoremove neofetch -y

The removal command will also uninstall any unused dependencies on your system.

I would advise keeping the EPEL repository installed, many packages for RHEL clones are imported directly from it, and no doubt it will be helpful in the future.

Comments and Conclusion

Neofetch is probably one of the most used and unique-looking options for quickly printing system information in a terminal environment. It has quite a few options to tweak it further.

Not what you were looking for? Try searching for additional tutorials.

Leave a Comment