Menu
User

DropVPS Team

Writer: Cooper Reagan

How do I install neofetch on Ubuntu?

How do I install neofetch on Ubuntu?

Publication Date

06/25/2025

Category

Articles

Reading Time

1 Min

Table of Contents

To install Neofetch on Ubuntu, open your terminal and run the following command:

sudo apt update
sudo apt install neofetch -y

Once installed, you can run it by typing:

neofetch

This will display your system information in a stylish and colorful way directly in the terminal.

If for any reason Neofetch is not available via the default Ubuntu repositories, you can also install it manually using git. First, make sure git is installed:

sudo apt install git -y

Now clone the Neofetch GitHub repository:

git clone https://github.com/dylanaraps/neofetch.git

Navigate to the cloned directory:

cd neofetch

Then you can run it directly with:

./neofetch

If you want to make it globally accessible without typing ./, you can move the script to /usr/local/bin:

sudo mv neofetch /usr/local/bin/

Now you can just type neofetch from anywhere in your terminal.

To make Neofetch run automatically every time you open the terminal, append it to your .bashrc or .zshrc file (depending on your shell):

echo "neofetch" >> ~/.bashrc

Apply the changes:

source ~/.bashrc
That’s it. Neofetch is now installed and ready to use every time you launch your terminal.
Linux VPS
U
Loading...

Related Posts

How do I install neofetch on Ubuntu?