This page defines the fastest supported path to install and initialize ZeroClaw.
Last verified: February 18, 2026.
git clone https://github.com/zeroclaw-labs/zeroclaw.git
cd zeroclaw
./bootstrap.shWhat it does by default:
cargo build --release --lockedcargo install --path . --force --locked
Default behavior is app-only (build/install ZeroClaw) and expects existing Rust toolchain.
For fresh machines, enable environment bootstrap explicitly:
./bootstrap.sh --install-system-deps --install-rustNotes:
--install-system-depsinstalls compiler/build prerequisites (may requiresudo).--install-rustinstalls Rust viarustupwhen missing.
curl -fsSL https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/main/scripts/bootstrap.sh | bashFor high-security environments, prefer Option A so you can review the script before execution.
Legacy compatibility:
curl -fsSL https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/main/scripts/install.sh | bashThis legacy endpoint prefers forwarding to scripts/bootstrap.sh and falls back to legacy source install if unavailable in that revision.
If you run Option B outside a repository checkout, the bootstrap script automatically clones a temporary workspace, builds, installs, and then cleans it up.
./bootstrap.sh --onboard --api-key "sk-..." --provider openrouterOr with environment variables:
ZEROCLAW_API_KEY="sk-..." ZEROCLAW_PROVIDER="openrouter" ./bootstrap.sh --onboard./bootstrap.sh --interactive-onboard--install-system-deps--install-rust--skip-build--skip-install--provider <id>
See all options:
./bootstrap.sh --help