fastfetch — A Fast, Modern System Information Tool Replacing neofetch
fastfetch is the successor to neofetch: display system info (OS, kernel, CPU, GPU, memory, uptime) with a distro logo, in milliseconds. Written in C with rich customization via JSONC config.
先审查再安装
这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。
npx -y tokrepo@latest install a672c079-380a-11f1-9bc6-00163e2b0d79 --target codex先 dry-run,确认写入项后再运行此命令。
What it is
fastfetch is a command-line tool that displays system information (OS, kernel, CPU, GPU, memory, disk, uptime) alongside a distro or OS logo in the terminal. Written in C, it is the successor to the popular neofetch tool and runs in milliseconds rather than seconds. fastfetch supports rich customization via JSONC configuration files.
fastfetch is designed for terminal enthusiasts, Linux users, and anyone who wants a quick, beautiful system overview in their terminal.
How it saves time or tokens
neofetch was written in bash and could take several seconds to gather system information on some configurations. fastfetch is written in C and gathers the same information in under 100 milliseconds. The JSONC configuration format provides precise control over which modules to display, their order, formatting, and colors, all without editing bash scripts.
How to use
- Install fastfetch:
# macOS
brew install fastfetch
# Ubuntu 24.04+
sudo apt install fastfetch
# Arch
sudo pacman -S fastfetch
# Windows
winget install Fastfetch-cli.Fastfetch
- Run it:
fastfetch
- Customize with a JSONC config:
fastfetch --gen-config
# Edit ~/.config/fastfetch/config.jsonc
Example
A custom configuration showing minimal system info:
// ~/.config/fastfetch/config.jsonc
{
"modules": [
"title",
"separator",
"os",
"host",
"kernel",
"uptime",
"cpu",
"gpu",
"memory",
"disk",
"shell",
"terminal",
"separator",
"colors"
],
"logo": {
"type": "auto"
}
}
Run fastfetch and see your system info formatted with your OS logo and the configured modules.
Related on TokRepo
- Coding tools — Browse developer terminal tools
- Self-hosted tools — Explore system administration tools
Common pitfalls
- Expecting neofetch configuration to work with fastfetch. fastfetch uses JSONC config files, not bash scripts. You need to recreate your customizations in the new format.
- Not running
fastfetch --gen-configto create the default config file first. Without the config file, you cannot customize the output. The generated default is a good starting point. - Installing on older Ubuntu versions without the official PPA. Ubuntu versions before 24.04 do not have fastfetch in the default repositories. Use the official PPA or build from source.
- Starting with an overly complex configuration instead of defaults. Begin with the minimal setup, verify it works, then customize incrementally. This approach catches configuration errors early and keeps troubleshooting straightforward.
For teams evaluating this tool, the time saved on initial setup alone justifies the adoption. The well-documented API and active community mean most common questions have already been answered, reducing the learning curve and the number of tokens spent explaining basic usage to AI assistants.
常见问题
fastfetch typically runs in 20-100 milliseconds, while neofetch takes 1-5 seconds. The C implementation avoids the overhead of bash subshell spawning and uses native system APIs for information gathering.
Yes. fastfetch supports built-in logos for hundreds of distros and custom logos from image files or ASCII art. Configure the logo type in your JSONC config file.
Yes. fastfetch supports Linux, macOS, Windows, FreeBSD, and Android. Each platform shows OS-appropriate information and logos.
Yes. Run fastfetch --format json to get machine-readable JSON output. This is useful for scripts and monitoring tools that need system information programmatically.
Functionally yes, but configuration is different. fastfetch displays the same type of information (OS, CPU, GPU, memory, etc.) with the same visual style. Configuration uses JSONC instead of bash, and the command name is fastfetch instead of neofetch.
引用来源 (3)
- fastfetch GitHub— fastfetch is the successor to neofetch
- fastfetch Wiki— Written in C with JSONC configuration
- fastfetch README— Cross-platform system information display
讨论
相关资产
EnTT — Fast Entity Component System for Modern C++
A header-only C++17 library providing a cache-friendly entity-component-system, event dispatcher, and service locator for game engines and simulations.
Typst — Modern Markup-Based Typesetting System
Typst is a new markup-based typesetting system that is powerful and easy to learn. A modern alternative to LaTeX with fast incremental compilation, friendly error messages, and a scripting language built in. Write beautiful papers, theses, and documents without the LaTeX pain.
DragonflyDB — Modern In-Memory Datastore Replacing Redis
DragonflyDB is a modern replacement for Redis and Memcached. Written in C++ with a multi-threaded, shared-nothing architecture that achieves 25x throughput improvement over Redis. Fully compatible with Redis and Memcached APIs.
Task — Fast Cross-Platform Build Tool for Modern Workflows
Task is a task runner and build tool written in Go. It uses simple YAML configuration as a modern, cross-platform alternative to Make — with better syntax, built-in variables, watch mode, and no platform-specific quirks.