cpufetch – awesome CPU architecture info tool for Linux and macOS

AMD cpufetch

AMD cpufetch
Typically we use the lscpu command or /proc/cpuinfo command on Linux to check CPU information. I recently found another simplistic yet fancier CPU architecture fetching tool inspired by neofetch, pfetch or screenfetch. Let us see how to install cpufetch on Linux, macOS, Android, and Windows to fetch CPU details.

termux application
Open termux and then run the following commands:
pkg install -y git make clang
Build from source normally on your Android device:
git clone https://github.com/Dr-Noob/cpufetch
cd cpufetch
make
make install

How to use cpufetch

The syntax is:
cpufetch
cpufetch [option]

cpufetch is an awesome CPU architecture info tool for Linux and macOS

cpufetch is an awesome CPU architecture info tool for Linux and macOS

Options

The default style is fancy. But we can switch to retro or legacy style as follows:
cpufetch -s retro
cpufetch -s legacy

We can use bash for loop as follows to test styles:

for s in fancy retro legacy
do clear cpufetch -s "$s" sleep 3
done

My AMD server:
cpufetch
AMD cpufetchAMD cpufetch
We can display extra information (if available) about how cpufetch tried fetching information:
cpufetch -v
By default, cpufetch uses the system color scheme but we can the color scheme too:
cpufetch --color 239,90,45:210,200,200:100,200,45:0,200,200
We need to set 4 colorsin RGB with the format:
R,G,B:R,G,B:....
The first 2 colors are the CPU art color and the next 2 colors are the text colors.

Summing up

Overall it is one of those small and nicely written tools. I hope you enjoy it as I did. Checkout source code at Github.

Posted by Contributor