The shortest path on macOS and Linux:
brew install cesarferreira/tap/staxOr with cargo binstall:
cargo binstall staxBoth stax and the short alias st are installed.
From GitHub Releases:
# macOS (Apple Silicon)
curl -fsSL https://github.com/cesarferreira/stax/releases/latest/download/stax-aarch64-apple-darwin.tar.gz | tar xz
# macOS (Intel)
curl -fsSL https://github.com/cesarferreira/stax/releases/latest/download/stax-x86_64-apple-darwin.tar.gz | tar xz
# Linux (x86_64)
curl -fsSL https://github.com/cesarferreira/stax/releases/latest/download/stax-x86_64-unknown-linux-gnu.tar.gz | tar xz
# Linux (arm64)
curl -fsSL https://github.com/cesarferreira/stax/releases/latest/download/stax-aarch64-unknown-linux-gnu.tar.gz | tar xz
mkdir -p ~/.local/bin
mv stax st ~/.local/bin/Ensure ~/.local/bin is on your PATH:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc # or ~/.bashrcDownload stax-x86_64-pc-windows-msvc.zip from Releases, extract stax.exe and st.exe, and place them on your PATH. See Windows notes for shell and tmux limitations.
Requires Rust and system OpenSSL (Debian/Ubuntu: libssl-dev pkg-config · Fedora/RHEL: openssl-devel · Arch: openssl pkg-config).
cargo install --path . --lockedWithout system OpenSSL:
cargo install --path . --locked --features vendored-opensslstax --version
st setup --yes # shell integration; skills for detected agents only; auth from gh (if available)
st setup --yes --skills all # install skills for every known harness (previous default)
st update # later, upgrade via the install method you usedFor native shell completion, evaluate or install the generated script. For example:
source <(st completions bash)
source <(st completions zsh)
st completions fish | source
# PowerShell
st completions powershell | Out-String | Invoke-Expression
# Elvish
eval (st completions elvish | slurp)Next: Quick start →