cpufetch: A CPU Architecture Fetching Tool

a new tool similar to screenfetch/neofetch to fetch and display your CPU architecture

 

One of the most popular tools for Linux and macOS users is screenfetch and/or neofetch.  These tools are basically bash scripts that detect and display system information alongside the ASCII version of the Linux distribution logo of the system.

cpufetch is a relatively new tool, similar to screenfetch/neofetch. However, instead of displaying your system’s information, it will fetch and display your CPU architecture.

At the time of writing, cpufetch supports x86_64 and ARM CPUs.

 

Platform x86_64 ARM Notes
Linux heavy_check_mark heavy_check_mark Prefered platform.
Experimental ARM support
Windows heavy_check_mark x Some information may be missing.
Colors will be used if supported
Android exclamation heavy_check_mark Experimental ARM support
macOS heavy_check_mark x Some information may be missing

 

INSTALLATION

Building from source – to build cpufetch from source, all you have to do is  clone the repo and use make to compile it:

git clone https://github.com/Dr-Noob/cpufetch
cd cpufetch
make
./cpufetch

Linux – If you’re running Arch Linux ( or derivates ) you can install cpufetch from the AUR. If you’re running any other distro, build from source.

macOS – build cpufetch from source

Windows – build from source OR download the cpufetch executable for Windows here and run it from CMD.

Android:

  1. Install termux app (terminal emulator)
  2. Run pkg install -y git make clang inside termux.
  3. Build from source

 

USING CPUFETCH

Just run cpufetch in your terminal. However there’s a bit of customization that you can apply to the output. By default, cpufetch will print the CPU art with the system colorscheme.

You can set a custom colorscheme by either specifying Intel or AMD, or specifying the prefered colors in RGB format:

./cpufetch --color intel (default color for Intel)
./cpufetch --color amd (default color for AND)
./cpufetch --color 239,90,45:210,200,200:100,200,45:0,200,200 (example)

NOTE: if you’re choosing to use a custom RGB color scheme, 4 colors must be given in with the format: [R,G,B:R,G,B:R,G,B:R,G,B]. These colors correspond to CPU art color (2 colors) and for the text colors (following 2).

Once you have a color scheme that you’re happy with, you can create a cpufetch alias.

To learn more about cpufetch or you have any bugs you want to report, check out the official project page on GitHub.