Installation Methods
Installer script
The recommended method. Works on Linux and macOS:
curl -fsSL https://boks.sh/install | sh
The script:
- Detects your OS and architecture
- Downloads the matching binary from the latest release
- Verifies the SHA256 checksum
- Installs to
~/.local/bin/boks - Prints a
PATHhint if~/.local/binis not already in your path
Manual install
Download the binary directly from the Codeberg releases page, verify the checksum, extract, and place it somewhere on your PATH:
# Example for Linux x86-64
RELEASE=v0.1.0
ARCHIVE=boks-${RELEASE}-x86_64-unknown-linux-musl.tar.gz
curl -fsSL "https://codeberg.org/marqvi/boks/releases/download/${RELEASE}/${ARCHIVE}" -o /tmp/${ARCHIVE}
curl -fsSL "https://codeberg.org/marqvi/boks/releases/download/${RELEASE}/${ARCHIVE}.sha256" -o /tmp/${ARCHIVE}.sha256
cd /tmp && sha256sum -c ${ARCHIVE}.sha256
tar -xzf ${ARCHIVE} -C ~/.local/bin
chmod +x ~/.local/bin/boks
Available targets:
| Target | Platform |
|---|---|
x86_64-unknown-linux-musl | Linux x86-64 |
aarch64-unknown-linux-musl | Linux ARM64 |
x86_64-apple-darwin | macOS Intel |
aarch64-apple-darwin | macOS Apple Silicon |
Build from source
Requires Rust and Cargo (rustup.rs):
git clone https://codeberg.org/marqvi/boks.git
cd boks
cargo build --release
cp target/release/boks ~/.local/bin/