Dr-Noob/cpufetch
FreeSimple yet fancy CPU architecture fetching tool
FreeFree tier
About Dr-Noob/cpufetch
cpufetch is an open-source, command-line tool written in C that displays detailed CPU information with a clean, aesthetic ASCII art logo. It supports a wide range of architectures including x86_64/x86, ARM, RISC-V, and PowerPC, and runs on GNU/Linux, Windows, Android, macOS, and FreeBSD. The tool detects the microarchitecture and vendor, shows core count, frequency, and other CPU details, and allows custom color schemes via command-line options. It is designed to be lightweight, portable, and visually appealing, making it suitable for system information scripts, hardware diagnosis, and educational purposes.
Key Features
Cross-platform support: GNU/Linux, Windows, Android, macOS, FreeBSD
Multi-architecture detection: x86_64/x86, ARM, RISC-V, PowerPC
Beautiful ASCII art CPU logo with system colors or custom RGB colors
Lightweight and written in C with no heavy dependencies
Command-line interface with color customization options
Displays CPU model, microarchitecture, cores, frequency, and more
Pros & Cons
Pros
- Free and open-source (MIT license)
- Supports a wide variety of CPU architectures and operating systems
- Visually appealing output with customizable colors
- Lightweight and easy to build from source
- Actively maintained with regular updates and community contributions
Cons
- Requires compilation on some systems (no pre-built binary for all platforms)
- Some microarchitectures may not be supported yet (unknown microarchitecture error)
- GPU support is a separate project (gpufetch) not included
- Limited to terminal display; no GUI or export options
Best For
Quick CPU information display in terminalSystem administration and hardware diagnosisIncluding CPU details in system information scripts (neofetch style)Educational demonstrations of CPU architecturesShowcasing system specs in screenshots or demos
FAQ
How do I install cpufetch?
You can install it via package manager if available, download a pre-built binary from the releases page, or build from source by cloning the repository and running 'make'. Android users can use Termux to compile.
Which CPU architectures are supported?
cpufetch supports x86_64/x86, ARM, RISC-V, and PowerPC architectures. Support varies by operating system; see the support matrix in the README.
How can I customize the colors?
Use the '--color' option with either a predefined name (intel, intel-new, amd, ibm, arm) or specify five RGB values in the format '[R,G,B:R,G,B:R,G,B:R,G,B:R,G,B]' for logo and text colors.
What should I do if I get an 'Unknown microarchitecture' error?
First update to the latest version. If the error persists, your microarchitecture may not be supported yet. Please create a GitHub issue with the error message and the output of 'cpuinfo'.