Skip to content

Repository files navigation

Xtop logo

Rust License Platform ratatui

A cross-platform TUI system monitor written in Rust. Uses ratatui for the terminal interface and sysinfo for real-time system metrics.

Main preview


Contents


Features

  • CPU usage per core with temperature sensing
  • RAM and Swap monitoring with historical chart
  • Network RX/TX tracking per interface
  • Storage and Disk I/O visualization
  • Process list with live search, CPU/Memory/PID/Name sorting and ▲/▼ direction toggling
  • Battery monitoring (real probes on Linux, macOS and Windows)
  • GPU monitoring (NVIDIA via nvidia-smi on any platform; AMD/Intel via Linux sysfs probes)
  • 12 color themes, with the base theme embedded and the rest installable from the official catalog
  • Layout modes and Detail presets, with Dashboard embedded and the rest installable from the official catalog
  • Full-screen mode for any widget
  • Configurable alert thresholds
  • Persistent configuration
  • Runtime widgets: sandboxed WASM modules or helper processes (Lua, Python, ...) via the opt-in plugin-wasm / plugin-external features
  • Self-update through the detected installation medium: xtop update
  • Headless CLI monitoring: status (full or per-section), processes, watch, info and doctor with JSON output
  • Theme and layout management from the CLI (xtop theme, xtop layout, --change-theme, --gen-config), followed live by running instances

See docs/features.md for a detailed feature breakdown.


Previews

xtop preview 2

More...

xtop preview 3

xtop preview 4

xtop preview 5

xtop preview 6

xtop preview 7

xtop preview 8


Quick Install

Prebuilt binaries are published for Linux (x86_64 glibc/musl and aarch64 glibc), macOS (x86_64 and aarch64) and Windows (x86_64). No Rust toolchain is required.

Linux / macOS (prebuilt)

curl -fsSL https://raw.githubusercontent.com/xtop-cli/xtop/main/install-prebuilt.sh | bash

Windows (prebuilt, PowerShell)

irm https://raw.githubusercontent.com/xtop-cli/xtop/main/install-prebuilt.ps1 | iex

Pin a published version with --version 0.1.0 (or -Version 0.1.0 on Windows). The installers verify the release SHA256SUMS and, when cosign is available, the keyless signature. See docs/installation.md for prefixes and verification flags.

From source

Linux

curl -fsSL https://raw.githubusercontent.com/xtop-cli/xtop/main/install.sh | bash

Windows (requires Rust)

irm https://raw.githubusercontent.com/xtop-cli/xtop/main/install.ps1 | iex

macOS from source: cargo install --git https://github.com/xtop-cli/xtop --all-features.

Build from Source

git clone https://github.com/xtop-cli/xtop.git
cd xtop
cargo run --release

For detailed installation instructions, see docs/installation.md.


Quick Start

Run xtop after installation. Key controls:

KeyAction
qQuit (saves config)
?Toggle help overlay
t / TNext / previous theme
lNext layout mode
f / FToggle / cycle full-screen
/ / ctrl+pOpen the command bar
ctrl+fFilter processes

For full usage details, see docs/usage.md.


Documentation


License

GPL-3.0-or-later. See LICENSE.