fastfetch-cli / fastfetch
- пятница, 3 мая 2024 г. в 00:00:03
Like neofetch, but much faster because written mostly in C.
Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. It is written mainly in C, with performance and customizability in mind. Currently, Linux, Android, FreeBSD, MacOS and Windows 7+ are supported.
There are screenshots on different platforms
Some distros packaged an outdated fastfetch version. Older version is not supported, please always ensure that the latest version is used.
ppa:zhangsongcui3371/fastfetch
(for Ubuntu 22.04 or newer)fastfetch-<version>-Linux.deb
from Github release page and dpkg -i fastfetch-<version>-Linux.deb
(for Ubuntu 20.04 or newer and Debian 11 or newer).sudo pacman -S fastfetch
sudo dnf install fastfetch
sudo emerge --ask app-misc/fastfetch
apk add --upgrade fastfetch
nix-shell -p fastfetch
sudo zypper install fastfetch
sudo apt-get install fastfetch
Replace sudo with doas depending on what you use.
See also if fastfetch has been packaged for your favorite Linux distro.
If fastfetch is not packaged for your distro or an outdated version is packaged, linuxbrew is a good alternate: brew install fastfetch
...via HomeBrew:
brew install fastfetch
...via MacPorts:
sudo port install fastfetch
scoop install fastfetch
You may also download it directly from GitHub releases page and extract the archive.
pkg install fastfetch
pkg install fastfetch
See Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Building
fastfetch
fastfetch -c all.jsonc
fastfetch -s <module> --format json
fastfetch --help
fastfetch --arg1 --arg2 --gen-config
Fastfetch uses the JSONC (or JSON with comments) for configuration. See Wiki for detail. There are some premade config files in presets
, including the ones used for the screenshots above. You can load them using -c <filename>
. They may also serve as a good example for format arguments.
Logos can be heavily customized too; see the logo documentation for more information.
cmake --build . --target package
cmake --install . --prefix /usr/local
Q: Why do you need a very performant version of neofetch?
I like putting neofetch in my ~/.bashrc to have a system overview whenever I use the terminal, but the slow speed annoyed me, so I created this. Also neofetch didn't output everything correctly (e.g Font is displayed as "[Plasma], Noto Sans, 10 [GTK2/3]") and writing my own tool gave me the possibility to fine tune it to run perfectly on at least my configuration.
Q: It does not display [*] correctly for me, what can I do?
This is most likely because your system is not implemented (yet). At the moment I am focusing more on making the core app better, than adding more configurations. Feel free to open a pull request if you want to add support for your configuration
Give it a star to support us!