Skip to main content

neofetch - Display System Info in Terminal

As of 2024-04-26, neofetch is in public archive and no longer maintained. https://github.com/dylanaraps/neofetch 

Have you ever wonder how the below terminal output is created?

Screenshot 2022-04-25 230802.png

neofetch is the answer! neofetch is a simple package that can be be use to display the host Linux system's information, in a nice, graphical form, on the terminal.

You can install neofetch using the following command on apt package manager systems:

sudo apt install neofetch

Screenshot 2022-11-01 223206.png

And to run it, simply type neofetch into the terminal.

neofetch

Screenshot 2022-11-01 223440.png

Display neofetch automatically upon login or SSH connect

One useful idea with neofetch is to have it run automatically upon logging in. This will show you the server uptime, number of packages installed, and other information right at the start of a SSH session.

We can have neofetch run by editing the ~/.bashrc file and add neofetch to the end of the file:

nano ~/.bashrc

Screenshot 2022-11-01 224310.png

Alternatively, you can use the echo command to append the neofetch command to the end of the file.

echo "neofetch" >> ~/.bashrc

Now the next time you login or SSH in, neofetch will be display as the first thing.

Screenshot 2022-11-01 224839.png