resources/xfetch

A cross-platform system information fetching tool inspired by fastfetch and neofetch, written in Rust. Focused on speed, security, and full customizability.

xfetch icon
xfetch main system info output preview
xfetch custom configuration preview
xfetch additional preview

Fully customizable layouts

{
  "layout": null
}
{
  "layout": "side-block"
}
{
  "layout": "section",
  "modules": [
    {
      "type": "group",
      "title": "Hardware",
      "modules": [
        "cpu", "gpu",
        "memory"
      ]
    },
    {
      "type": "group",
      "title": "Software",
      "modules": [
        "os", "shell"
      ]
    }
  ]
}
{
  "layout": "tree",
  "modules": [
    {
      "type": "group",
      "title": "OS",
      "modules": [
        "os", "kernel",
        "packages"
      ]
    },
    {
      "type": "group",
      "title": "PC",
      "modules": [
        "cpu", "gpu",
        "memory"
      ]
    }
  ]
}

Quick Install

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/xscriptor/xfetch/main/install.sh | bash

Windows (PowerShell)

irm https://raw.githubusercontent.com/xscriptor/xfetch/main/install.ps1 | iex

Configuration

xfetch looks for a configuration file at:

  • Linux: ~/.config/xfetch/config.jsonc
  • Windows: %APPDATA%\xfetch\config.jsonc
  • macOS: ~/Library/Application Support/xfetch/config.jsonc

A minimal configuration looks like this:

{
  "modules": ["os", "kernel", "memory"],
  "show_colors": true
}

Available modules:

oskernelhostnameuptimepackagesshellterminalwmcpugpumemoryswapdiskbatterypalette

Use a custom config file:

xfetch --config path/to/my_config.jsonc

Usage

Simply run xfetch in your terminal:

xfetch

Uninstall

Quick uninstall

curl -fsSL https://raw.githubusercontent.com/xscriptor/xfetch/main/uninstall.sh | bash

Manual uninstall

rm ~/.local/bin/xfetch
rm -rf ~/.config/xfetch