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 and some basic commands on Ubuntu 22.04 LTS Jammy Jellyfish using the command line terminal and how to use the terminal commands to achieve more with Neofetch.
Table of Contents
First, update your system to ensure all existing packages are up to date to avoid any conflicts.
sudo apt update && sudo apt upgrade -y
Neofetch is available on Ubuntu 22.04 LTS repository making the process straightforward.
To begin the installation, use the following command.
sudo apt install neofetch -y
Once installed, verify the installation and the build by using the neofetch –version command.
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.
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.|
|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.
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, you would use the following command.
neofetch uptime --uptime_shorthand tiny
Another example is checking memory and uptime, and you can specify multiples.
neofetch uptime disk wm memory
uptime: 9 mins disk (/): 7.9G / 49G (18%) wm: Mutter memory: 1017MiB / 3893MiB
Row to Remove (Uninstall) Neofetch
To remove Neofetch from your Ubuntu system, use the following command.
sudo apt autoremove neofetch -y
The removal command will also uninstall any unused dependencies on your system.
Comments and Conclusion
In the tutorial, you have learned how to install Neofetch on Ubuntu 22.04 LTS Jammy Jellyfish.
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.