Install Neofetch on Debian 11 Bullseye

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, and much more.

In the following tutorial, you will learn how to install Neofetch and some basic commands on Debian 11 Bullseye desktop or server.

Prerequisites

  • Recommended OS: Debian 11 Bullseye.
  • User account: A user account with sudo or root access.
  • Internet Access

The tutorial will utilize the terminal for the installation found in Activities > Show Applications > Terminal.

Example:

Install Neofetch on Debian 11 Bullseye

Update Operating System

Update your Debian operating system to ensure all existing packages are up to date.

sudo apt update && sudo apt upgrade -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@debian~]$ sudo whoami
root

To set up an existing or new sudo account, visit our tutorial on Adding a User to Sudoers on Debian.

Use the following command with the root password to log in to use the root account. 

su

For users that have sudo access, this can be skipped.

Installing Neofetch

Neofetch is by default available on Debian 11 repository making the process straightforward.

To begin the installation, use the following command.

sudo apt install neofetch

Example output:

Install Neofetch on Debian 11 Bullseye

Type Y, then press the ENTER KEY to proceed.

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

neofetch --version

Example output:

Neofetch 7.1.0

Using Neofetch

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.

neofetch

Example output:

Install Neofetch on Debian 11 Bullseye

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 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, you would 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:

uptime: 9 mins 
disk (/): 7.9G / 49G (18%) 
wm: Mutter 
memory: 1017MiB / 3893MiB 

Removing Neofetch

To remove Neofetch from your Debian 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 Debian 11 Bullseye.

Overall, 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.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!