Display Linux System Information in Terminal using Neofetch

Neofetch is a command-line system information tool written in bash 3.2+. Neofetch displays information about your operating system, software and hardware in an aesthetic and visually pleasing way.

Let’s install Neofetch on our machine:

Table of Contents

  1. Install Neofetch
  2. Display Information

Install Neofetch

Neofetch is available in most of the default repositories of Linux distributions. Let’s install on our machine.

Debian (Ubuntu, Kali, etc.):

# Ubuntu 17.04 and newer versions:
sudo apt install neofetch

# Ubuntu 16.10 and older versions:
sudo add-apt-repository ppa:dawidd0811/neofetch
sudo apt install neofetch


sudo dnf install neofetch

CentOS 8:

# add epel repo
sudo dnf install epel-relase
# installing neofetch
sudo dnf install neofetch

CentOS 7:

# add epel repo
sudo yum install epel-relase
# fetch neofetch repo
curl -o /etc/yum.repos.d/konimex-neofetch-epel-7.repo https://copr.fedorainfracloud.org/coprs/konimex/neofetch/repo/epel-7/konimex-neofetch-epel-7.repo
# installing neofetch
sudo yum install neofetch


sudo zypper install neofetch


nix-env -i neofetch

Display Information

To display information, just run this command:


My test OS is Ubuntu and the output is:

You can show other OS logo. Here are the list of available commands:

neofetch --ascii_distro alpine
neofetch --ascii_distro android
neofetch --ascii_distro archlinux
neofetch --ascii_distro bunsenlabs
neofetch --ascii_distro centos
neofetch --ascii_distro crux
neofetch --ascii_distro debian
neofetch --ascii_distro fedora
neofetch --ascii_distro gentoo
neofetch --ascii_distro gobolinux
neofetch --ascii_distro macos
neofetch --ascii_distro nixos
neofetch --ascii_distro opensuse
neofetch --ascii_distro slackware
neofetch --ascii_distro solus
neofetch --ascii_distro ubuntu
neofetch --ascii_distro voidlinux
neofetch --ascii_distro windows
That’s it. Thanks for reading. ?

Software Engineer | Ethical Hacker & Cybersecurity...

Md Obydullah is a software engineer and full stack developer specialist at Laravel, Django, Vue.js, Node.js, Android, Linux Server, and Ethichal Hacking.