Installation¶
Requirements¶
System Requirements¶
- Rust 1.85+ (2024 edition)
- Node.js 20+ (for building the embedded UI)
Platform-Specific Dependencies¶
Installation Methods¶
From crates.io (Recommended)¶
This installs the openclaw binary to ~/.cargo/bin/.
From Source¶
# Clone the repository
git clone https://github.com/neul-labs/openclaw-rs
cd openclaw-rs
# Build in release mode
cargo build --release
# Install the CLI
cargo install --path crates/openclaw-cli
Using the Install Script¶
# One-liner install
curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw-rs/main/install.sh | bash
# Or with options
./install.sh --method source # Force source build
./install.sh --prefix ~/.local # Custom install prefix
The install script tries these methods in order:
- Pre-built binaries from GitHub Releases
cargo installfrom crates.io- Build from source (if in repo directory)
- Clone and build from source
Verify Installation¶
Expected output:
openclaw 0.1.0
Command-line interface for OpenClaw
USAGE:
openclaw <COMMAND>
COMMANDS:
onboard Interactive setup wizard
gateway Gateway server management
status Show system status
...
Building the Web UI¶
The web dashboard is built with Vue 3 and embedded in the gateway:
The built assets are automatically embedded when you build the gateway.