- Quick Install (Linux)
- Quick Install (Windows)
- macOS
- Installer Options
- Build from Source
- Uninstall
- Supported Distributions
The installer script detects the distribution and its package manager,
installs the build prerequisites (git and, when missing, the Rust toolchain
via rustup), clones the repository, builds it in release mode and installs
the binary to /usr/local/bin.
curl -fsSL https://raw.githubusercontent.com/xtop-cli/xtop/main/install.sh | bashwget -qO- https://raw.githubusercontent.com/xtop-cli/xtop/main/install.sh | bashRequires Rust (Cargo) to be installed. Run in PowerShell:
irm https://raw.githubusercontent.com/xtop-cli/xtop/main/install.ps1 | iexinstall.sh targets Linux package managers and has no macOS branch.
Install with cargo (needs the Rust toolchain from rustup):
cargo install --git https://github.com/xtop-cli/xtop --all-featuresThe binary lands in ~/.cargo/bin; make sure it is on your PATH.
--all-features enables the Samurai plugin, the MCP extension, the
blocks widget pack, the effects module and the two runtime widget hosts
(sandboxed WASM and external processes).
You can run the installer script with additional flags for more control:
# Check dependencies without installing
./install.sh --check-deps
# Install only dependencies (Rust, build tools)
./install.sh --install-deps
# Install with the runtime widget hosts enabled (sandboxed .wasm widgets
# and helper processes in any language)
./install.sh --with-runtime-widgets
# Show help
./install.sh --helpOn Windows the same opt-in is a switch on the installer:
.\install.ps1 -RuntimeWidgets- Arch Linux and derivatives
- Debian / Ubuntu and derivatives
- Fedora / RHEL and derivatives
- openSUSE and derivatives
- Alpine Linux and derivatives
-
Clone the repository:
git clone https://github.com/xtop-cli/xtop.git cd xtop -
Build and run with release optimizations:
cargo run --release
The uninstallers remove the binary only; user configuration under the config directory is kept.
curl -fsSL https://raw.githubusercontent.com/xtop-cli/xtop/main/install.sh | bash -s -- --uninstallirm https://raw.githubusercontent.com/xtop-cli/xtop/main/uninstall.ps1 | iex