Installation Guide
Comprehensive installation instructions for ZeroClaw across all supported platforms.
System Requirements
Minimum Runtime Requirements
RAM < 5MB for basic agent operations(Build-time: ~2GB recommended)
Disk Space ~9MB for binary + dependencies(Build-time: ~6GB free space)
CPU Any ARM, x86_64, or RISC-V processor Tested down to 0.8GHz single-core
OS Linux, macOS, Windows, or bare-metal (Firmware available for microcontrollers)
Tier 1 : Pre-built binaries available, CI-tested, officially supportedFirmware : Embedded builds for microcontrollers (limited feature set)Experimental : Community-supported, may require manual configuration
Installation Methods
Homebrew (Recommended)
Clone + Bootstrap
Cargo Install
Remote One-Liner
Docker
macOS and Linux (Homebrew/Linuxbrew) Fastest method with pre-built binaries: Verify installation: Homebrew handles PATH configuration automatically. No additional setup needed.
Update to Latest Clone the repository and run the bootstrap script:
Validates system requirements (RAM, disk space)
Optionally installs Rust toolchain via rustup
Builds ZeroClaw with optimized release profile:
Installs binary to ~/.cargo/bin/:
Bootstrap Options Advanced Options Source builds require ~2GB RAM and ~6GB disk . Use --prefer-prebuilt on constrained systems.
Via Cargo (Rust Package Manager) If you already have Rust installed: This compiles from the latest crates.io release. Install Specific Version Install with Features Available Features :
hardware — USB device enumeration, serial support
channel-matrix — Matrix E2EE chat support
channel-lark — Lark/Feishu/DingTalk channels
memory-postgres — PostgreSQL memory backend
peripheral-rpi — Raspberry Pi GPIO support
browser-native — Selenium/CDP browser automation
runtime-wasm — WASM tool sandboxing
wasm-tools — WASM plugin loader
whatsapp-web — WhatsApp Web client
probe — STM32/Nucleo memory probing (probe-rs)
rag-pdf — PDF ingestion for RAG
Direct Install (No Git Clone) For quick deployment on remote servers: This automatically:
Detects if running in a git repo
Clones temp workspace if needed
Builds and installs ZeroClaw
Cleans up temp files
Review scripts before piping to bash in production environments: Legacy Install Script This legacy endpoint forwards to bootstrap.sh on newer releases.
Containerized Deployment Quick Start This builds a local image and launches onboarding in a container with persistent storage in ./.zeroclaw-docker/. Manual Docker Build Docker Compose Advanced Docker Options Use Podman instead of Docker by setting:
Linux
Alpine uses musl libc. Some features may require additional packages:
macOS
Or from source:
macOS may require granting permissions for terminal access to folders. Go to System Preferences → Security & Privacy → Files and Folders if you encounter permission errors.
Windows
WSL2 (Recommended)
Native Windows
Install Windows Subsystem for Linux 2: Then follow Linux (Ubuntu) instructions above. WSL2 provides the best compatibility and performance for Rust development on Windows.
Install Visual Studio Build Tools (C++ workload)
Install Rust for Windows:
Clone and build:
Native Windows builds have limited feature support (no GPIO, some channel limitations).
Raspberry Pi
Install Build Dependencies
Use Pre-built Binary (Recommended)
Raspberry Pi 3/4 have limited RAM. Use pre-built binaries: If source build is required, enable swap:
Enable GPIO Support
Install with GPIO peripheral support: Or in source builds:
Raspberry Pi GPIO requires running as root or in the gpio group:
Android (Termux)
Android/Termux support is experimental. Some features (hardware, some channels) are unavailable.
Termux builds use target_os="android" and exclude nusb (USB enumeration) to avoid compilation errors.
Embedded & Microcontroller Firmware
ESP32
ZeroClaw firmware for ESP32 with optional UI:
See firmware/zeroclaw-esp32/README.md for detailed setup.
STM32 Nucleo
See docs/nucleo-setup.md .
Arduino
Verification
After installation, verify ZeroClaw is working:
Expected output:
Updating ZeroClaw
Self-update command is planned for v0.2.0.
Uninstallation
Removing ~/.zeroclaw deletes all configuration, credentials, and conversation history. Back up important data first.
Next Steps
Quick Start Run your first agent in under 5 minutes
Configuration Configure providers, channels, and runtime options