4 stable releases
Uses new Rust 2024
| 1.2.2 | Oct 10, 2025 |
|---|---|
| 1.1.2 | Aug 20, 2025 |
#559 in Configuration
24KB
537 lines
nerdfetch-rs
A minimal, fast system fetch tool — rewritten in Rust for speed, clarity, and configurability.
Acknowledgements: Heavily inspired by NerdFetch by ThatOneCalculator. This project is a Rust-based reimagining with a similar aesthetic and minimalistic goals.
Config
You can find the config file at $HOME/.config/nerdfetch-rs.toml. As the suffix might suggest, it is in TOML format.
Modules
Every module has its own table named like [modules.module_name]. Every module can be enabled or disabled
with the active key, which is a boolean. Some default modules are enabled by
default and must be disabled explicitely.
- Default:
color_palettekernelmemoryosshelluptimeuser - Others:
host
| Key | Value |
|---|---|
| alignment | Alignment of modules relative to art. Can be top or center. |
Module-Specifics
User
All colors appear bright because of bold text.
| Key | Value |
|---|---|
| username_color | Color of the username. |
| at_color | Color of the '@' between username and hostname. |
| hostname_color | Color of the hostname. |
Kernel
| Key | Value |
|---|---|
| show_name | Show name of kernel. Otherwise just version is shown. |
Host
📝 Note: Activating this module may have a minor performance impact on macOS, as it spawns a child process.
Theme
The following keys can be set in the [theme] table.
| Key | Value |
|---|---|
| ascii_art | (Multiline-) String of ASCII art displayed to the left of modules. |
| art_color | Color of whole ASCII art. |
| icon_color | Color of module icons. |
| info_color | Color of module text. |
Colors
white black red green yellow blue magenta cyan bright_red bright_green bright_yellow bright_blue bright_magenta bright_cyan
Installation
This software should work for most Linux distros and macOS. You need to have a Nerd Font installed and enabled in your terminal.
Package manager
- AUR.
yay -S nerdfetch-rs - Homebrew. We have to get a lot more popular to make this possible. Please use crates.io in the meantime.
- NIX. Coming soon.
- crates.io.
cargo install nerdfetch-rs. Rust toolchain required. (Debian, Red Hat, macOS, etc.) - Build from source. Clone this repository and run
cargo build --release. You'll find your binary in thetarget/releasedirectory. Rust toolchain required.
Dependencies
~5.5–7.5MB
~140K SLoC