Install & Updates
Ways to install and update OpenClaw. Based on official Install.
Recommended
Runtime: Node.js ≥ 22
bash
npm install -g openclaw@latest
# or
pnpm add -g openclaw@latestThen run the Wizard (openclaw onboard --install-daemon).
One-liner (macOS / Linux)
bash
curl -fsSL https://openclaw.ai/install.sh | bashThe script installs Node if needed and OpenClaw. See Installer.
Other options
- Updating — Upgrade or switch versions
- Docker — Run with Docker
- Nix — Declarative config
- Development channels — stable / beta / dev
From source (development)
bash
git clone https://github.com/openclaw/openclaw.git
cd openclaw
pnpm install
pnpm ui:build
pnpm build
pnpm openclaw onboard --install-daemon