Installation
Install script (recommended)
Download and install the latest pre-built binary:
curl -fsSL https://raw.githubusercontent.com/betta-lab/clawzero/main/install.sh | sh
By default, the binary is installed to ~/.local/bin. You can change this with the INSTALL_DIR environment variable:
INSTALL_DIR=/usr/local/bin curl -fsSL https://raw.githubusercontent.com/betta-lab/clawzero/main/install.sh | sh
Supported targets:
x86_64-unknown-linux-gnuaarch64-unknown-linux-gnux86_64-apple-darwinaarch64-apple-darwin
Manual download
Download from GitHub Releases:
# Example: Linux x86_64
curl -LO https://github.com/betta-lab/clawzero/releases/latest/download/clawzero-v0.1.0-x86_64-unknown-linux-gnu.tar.gz
tar xzf clawzero-*.tar.gz
sudo mv clawzero-*/clawzero /usr/local/bin/
Build from source
cargo install --path .
Optional feature flags
# Enable Slack gateway
cargo install --path . --features slack
# Enable Discord gateway
cargo install --path . --features discord
# Enable AWS Bedrock authentication
cargo install --path . --features bedrock
# Enable all features
cargo install --path . --features "slack,discord,bedrock"
Prerequisites
- Rust 1.80+ (edition 2024)
- mise (recommended) —
mise installsets up the toolchain