zigfetch

A system information tool written in Zig that displays system details similar to neofetch/fastfetch

install

Zigfetch is a system information tool written in Zig that displays system details in a formatted output similar to neofetch and fastfetch. The tool shows information modules including OS, kernel, uptime, installed packages, shell, CPU, GPU, RAM, swap, disk usage, network interfaces, window manager, terminal, and locale settings.

The tool supports comprehensive package manager detection on Linux (flatpak, nix, dpkg, pacman, xbps) and macOS (Homebrew, MacPorts). GPU information is available on Linux systems and Apple Silicon Macs. Users can configure the output through JSON configuration files, customize ASCII art, modify colors using hex values, and create custom information modules.

Zigfetch runs on Linux and macOS with experimental Windows support in development. On Linux, it requires libpci for hardware information gathering. The tool stores configuration in ~/.config/zigfetch/config.json and follows a specific JSON schema for module definitions and display customization.

Installation

# via Homebrew
brew install utox39/tap/zigfetch
# via Build from source
git clone https://github.com/utox39/zigfetch.git && cd zigfetch && zig build -Doptimize=ReleaseSafe

Default configuration output

Custom configuration output

Alternatives & related tools

add a badge to your README

Maintain zigfetch? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/zigfetch.svg)](https://www.trmn.sh/tools/zigfetch?utm_source=badge)
HTML
<a href="https://www.trmn.sh/tools/zigfetch?utm_source=badge"><img src="https://www.trmn.sh/badge/zigfetch.svg" alt="Featured on trmn" height="20"></a>