Installation
PicoClaw supports multiple installation methods across different platforms. Choose the method that works best for your environment.Precompiled Binary
Fastest way to get started (recommended)
Build from Source
Latest features and custom builds
Docker Compose
Containerized deployment
Android (Termux)
Run on old Android phones
Precompiled Binary
The easiest way to install PicoClaw is to download a precompiled binary for your platform.Download the Binary
Visit the GitHub Releases page and download the appropriate binary for your platform:Available Platforms:
picoclaw-linux-amd64— Linux x86_64picoclaw-linux-arm64— Linux ARM64 (Raspberry Pi 4, etc.)picoclaw-linux-arm— Linux ARM 32-bit (Raspberry Pi Zero 2 W with 32-bit OS)picoclaw-linux-riscv64— Linux RISC-V 64-bitpicoclaw-darwin-amd64— macOS Intelpicoclaw-darwin-arm64— macOS Apple Silicon
Make it Executable
Add execute permissions to the downloaded binary:
Replace
picoclaw-linux-amd64 with the actual filename you downloaded.Move to PATH (Optional)
For easier access, move the binary to a directory in your PATH:Now you can run
picoclaw from anywhere!Platform-Specific Notes
Raspberry Pi Zero 2 W
Raspberry Pi Zero 2 W
The Raspberry Pi Zero 2 W can run either 32-bit or 64-bit operating systems. Choose the correct binary:
- 32-bit Raspberry Pi OS → Use
picoclaw-linux-arm - 64-bit Raspberry Pi OS → Use
picoclaw-linux-arm64
macOS Gatekeeper Warning
macOS Gatekeeper Warning
On macOS, you may see a security warning when running the binary. To allow it:Or go to System Preferences → Security & Privacy and click “Allow Anyway”.
RISC-V Devices
RISC-V Devices
For RISC-V devices like LicheeRV-Nano, use the
picoclaw-linux-riscv64 binary:Build from Source
Building from source gives you access to the latest features and allows for custom builds.Requirements:
- Go 1.21 or higher
- Git
- Make (optional, but recommended)
Advanced Build Options
Build with WhatsApp Native Support
Build with WhatsApp Native Support
The WhatsApp native integration is optional to keep the binary small. To include it:Or manually:
Custom Build Flags
Custom Build Flags
For custom compilation:
Development Build
Development Build
For development with hot reload:
Available Makefile Targets
| Command | Description |
|---|---|
make deps | Install Go dependencies |
make build | Build for current platform |
make build-all | Cross-compile for all platforms |
make build-linux-amd64 | Build for Linux x86_64 |
make build-linux-arm64 | Build for Linux ARM64 |
make build-linux-arm | Build for Linux ARM 32-bit |
make build-pi-zero | Build both ARM variants for Pi Zero 2 W |
make install | Build and install to /usr/local/bin |
make clean | Remove build artifacts |
Docker Installation
Run PicoClaw in a containerized environment without installing anything locally.Initial Setup
Run the first-time setup to generate the config file:The container will print “First-run setup complete.” and exit.
This creates
docker/data/config.json.Configure API Keys
Edit the generated config file:Add your API keys for LLM providers, bot tokens, etc. See the Quickstart for details.
Start the Gateway
Start PicoClaw in detached mode:
Docker Network Access: By default, the Gateway listens on
127.0.0.1 which is not accessible from the host. If you need to access health endpoints or expose ports, set PICOCLAW_GATEWAY_HOST=0.0.0.0 in your environment or update config.json.Docker Agent Mode (One-shot)
For quick questions without running the gateway:Managing Docker Deployment
Android (Termux)
Give your decade-old Android phone a second life by turning it into a smart AI Assistant!Install Termux
Download Termux from F-Droid or Google Play.
Now your old Android phone is a fully functional AI assistant! Proceed to the Quick Start guide to configure it.
Next Steps
Quick Start
Configure PicoClaw and start chatting
Configuration
Deep dive into configuration options