Show CPU Details Beautifully in Linux Terminal With CPUFetch

There are ways to check CPU information on Linux. Probably the most common is the lscpu command that gives you plenty of information about all the CPU cores on your system.

lscpu command output
lscpu command output

You may find CPU information there without installing any additional packages. That works of course. However, I recently stumbled upon a new tool that displays the CPU details in Linux in a beautiful manner.

The ASCII art of the processor manufacturer makes it look cool.

cpufetch for AMD processor

This looks beautiful, isn’t it? This is similar to Neofetch or Screenfetch tools that show the system information in beautiful ASCII art in Linux. Similar to those tools, you can use CPUFetch if you are showcasing your desktop screenshot.

The tool outputs the ASCII art of the processor manufacturer, its name, microarchitecture, frequency, cores, threads, peak performance, cache sizes, Advanced Vector Extensions, and more.

You can use custom colors apart from a few themes it provides. This gives you additional degree of freedom when you are ricing your desktop and want to color match all the elements on your Linux setup.

Installing CPUFetch on Linux

Unfortunately, CPUFetch is rather new, and it is not included in your distribution’s repository. It doesn’t even provide ready to use DEB/RPM binaries, PPAs, Snap or Flatpak packages.

Arch Linux users can find it in AUR but for others, the only way forward here is to build from source code.

Don’t worry. Installation as well as removal is not that complicated. Let me show you the steps.

I am using Ubuntu and you would need to install Git on Ubuntu first. Some other distributions come preinstalled with it, if not use your distribution’s package manager to install it.

Now, clone the Git repository wherever you want. Home directory is fine as well.

git clone

Switch to the directory you just cloned:

cd cpufetch

You’ll see a make file here. Use it to compile the code.

cpufetch installation
CPUFetch Installation

Now you’ll see a new executable file named cpufetch. You run this executable to display the CPU information in the terminal.


This is what it showed for my system. AMD logo looks a lot cooler in ASCII, don’t you think?

cpufetch showing CPU information in Linux terminal for itsfoss

How do you remove Cpufetch? It’s pretty simple. When you compiled the code, it produced just one file and that too in the same directory as the rest of the code.

So, to remove CPUFetch from your system, simply remove its entire folder. You know how to remove a directory in Linux terminal, don’t you? Come out of the cpufetch directory and use the rm command:

rm -rf cpufetch

That was simple, thankfully because removing software installed from source code could be really tricky at times.

Back to cpufetch. I think it’s a utility for those who like to show off their desktop screenshots in various Linux group. Since we have Neofetch for the distribution and CPUFetch for CPU, I wonder if we could have a GPU fetch with ASCII art of Nvidia as well :)

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventure. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie and classic detective mysteries πŸ•΅οΈβ€β™‚οΈ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.