crates/but-installer/README.md
A lightweight Rust installer for GitButler. Currently supports macOS only.
Installation is split into two parts:
Bootstrap script (scripts/install.sh) - Minimal shell script that:
app.gitbutler.comInstaller binary (this crate) - Handles the actual installation:
but CLI symlink# Via bootstrap script (recommended)
curl -sSL https://gitbutler.com/install.sh | sh
curl -sSL https://gitbutler.com/install.sh | sh -s nightly
curl -sSL https://gitbutler.com/install.sh | sh -s 0.18.7
# Direct invocation
but-installer # Install latest stable
but-installer nightly # Install nightly
but-installer 0.18.7 # Install specific version
cargo build --release -p but-installer
cargo test -p but-installer
The binary is optimized for size (~1.0MB) using system libcurl instead of bundling an HTTP client. Keeping this installer slim is a priority since it is downloaded before every installation.