Skip to content

Installation

Terminal window
git clone https://github.com/pdg-global/rusty.git
cd rusty
cargo build --release

The binary is produced at ./target/release/rusty. Move it somewhere on your PATH:

Terminal window
# macOS / Linux
sudo cp ./target/release/rusty /usr/local/bin/
# Or add the target directory to your PATH
export PATH="$PWD/target/release:$PATH"

Pre-built binaries are available on the GitHub releases page. Download the appropriate binary for your platform and add it to your PATH.

PlatformArchitectureStatus
macOSaarch64 (Apple Silicon)Fully supported
macOSx86_64 (Intel)Fully supported
macOSUniversal (arm64 + x86_64)Fully supported
Linuxx86_64 (GNU libc)Fully supported
Linuxaarch64 (GNU libc)Fully supported
Linuxarmv7 (GNU libc)Fully supported
Linuxx86_64 (musl, static)Fully supported
Linuxaarch64 (musl, static)Fully supported
FreeBSDx86_64Fully supported

Rusty builds as a single statically compiled binary with no runtime dependencies. All native dependencies (OpenSSL, etc.) are vendored via the Rust crate ecosystem.

  • Rust toolchain 1.75+ (edition 2021)
  • A C compiler (for some vendored C libraries on Linux)

Install Rust via rustup:

Terminal window
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

After installing, verify Rusty works:

Terminal window
rusty --help

This displays all available CLI flags and run modes.

Rusty supports shell completions via clap. Generate them for your shell:

Terminal window
# Bash
rusty --completions bash > ~/.bash_completion.d/rusty
# Zsh
rusty --completions zsh > ~/.zfunc/_rusty
# Fish
rusty --completions fish > ~/.config/fish/completions/rusty.fish