- 1. Support
- 2. Installation
- 3. Examples
- 4. Colors and style
- 5. Implementation
- 6. Bugs or improvements
- 7. Acknowledgements
- 8. cpufetch for GPUs (gpufetch)
cpufetch supports the following architectures:
- x86 / x86_64
- ARM
- PowerPC
OS | x86_64 / x86 | ARM | PowerPC | Notes |
---|---|---|---|---|
GNU/Linux | ✔️ | ✔️ | ✔️ | Best support |
Windows | ✔️ | ❌ | ❌ | Some information may be missing. Colors will be used if supported |
Android | ✔️ | ✔️ | ❌ | Some information may be missing |
macOS | ✔️ | ✔️ | ❌ | Only the Apple M1 is supported in ARM |
FreeBSD | ✔️ | ❌ | ❌ | Some information may be missing. |
Choose the right package for your operating system:
If there is no available package for your OS, you can download the cpufetch binary from the releases page, or build cpufetch from source (see below).
You will need a C compiler (e.g, gcc
), and make
to compile cpufetch
. To do so, just clone the repo and run make
:
git clone https://github.com/Dr-Noob/cpufetch
cd cpufetch
make
./cpufetch
The Makefile is designed to work on Linux, Windows and macOS.
- Install
termux
app (terminal emulator) - Run
pkg install -y git make clang
inside termux. - Build from source normally:
- git clone https://github.com/Dr-Noob/cpufetch
- cd cpufetch
- make
- ./cpufetch
Here are more examples of how cpufetch
looks on different CPUs.
By default, cpufetch
will print the CPU art with the system colorscheme. However, you can always set a custom color scheme, either
specifying Intel or AMD, or specifying the colors in RGB format:
./cpufetch --color intel (default color for Intel)
./cpufetch --color amd (default color for AMD)
./cpufetch --color 239,90,45:210,200,200:100,200,45:0,200,200 (example)
In the case of setting the colors using RGB, 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). Thus, you can customize all the colors.
See cpufetch programming documentation.
See cpufetch contributing guidelines
Thanks to the fellow contributors and interested people in the project. Special thanks to:
- Gonzalocl, OdnetninI: Tested cpufetch in the earlier versions of the project in many different CPUs.
- Kyngo: Tested cpufetch in the Apple M1 CPU.
- avollmerhaus: Gave me ssh acess to a PowerPC machine, allowing me to develop the PowerPC port.
- bbonev, stephan-cr: Reviewed the source code.
See gpufetch project!