Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Arch Linux (AUR)

xrat is available in the Arch User Repository (AUR) as both a prebuilt binary package and a source package.

For other install paths, see Installation Script, Cargo Install, Docker Install, or Manual Binary Install.

Packages

PackageDescriptionRecommended
xrat-binDownloads and installs prebuilt release binaries directly from GitHub releasesYes
xratBuilds xrat from source using cargo-

Installation

Using an AUR Helper

With yay:

# Prebuilt binary (recommended)
yay -S xrat-bin

# Or build from source:
yay -S xrat

With paru:

# Prebuilt binary (recommended)
paru -S xrat-bin

# Or build from source:
paru -S xrat

Manual Installation (makepkg)

You can clone the repository and build manually without an AUR helper:

# For xrat-bin
git clone https://aur.archlinux.org/xrat-bin.git
cd xrat-bin
makepkg -si

# Or for xrat (from source)
git clone https://aur.archlinux.org/xrat.git
cd xrat
makepkg -si

First-Time Setup

AUR packages install the xrat binary to /usr/bin/xrat alongside system assets (desktop launcher, completions, man pages, service templates).

To initialize the configuration directory, database, and managed proxy cores, run setup:

xrat setup

Setup is idempotent and re-runnable. Use -y to accept defaults non-interactively, or xrat setup --check to verify your environment without making changes.

Then follow the Quickstart to import configs and connect.

Update and Uninstall

Update

Using your AUR helper:

yay -Syu
# or
paru -Syu

Uninstall

Remove the package and unused dependencies:

sudo pacman -Rns xrat-bin
# or
sudo pacman -Rns xrat