Get OpenClaw (formerly Moltbot, Clawdbot) up and running on your system
New to OpenClaw? For a hands-on, beginner-friendly tutorial with step-by-step guidance, check out our Getting Started Tutorial. This page is a comprehensive reference guide covering all installation methods.
The preferred setup is to run the onboarding wizard. It walks through gateway, workspace, channels, and skills. The CLI wizard is the recommended path and works on macOS, Linux, and Windows (via WSL2).
npm install -g openclaw@latest
# or: pnpm add -g openclaw@latest
openclaw onboard --install-daemon
The wizard installs the Gateway daemon (launchd/systemd user service) so it stays running.
openclaw onboard --install-daemon
openclaw gateway --port 18789 --verbose
# Send a message
openclaw message send --to +1234567890 --message "Hello from OpenClaw"
# Talk to the assistant
openclaw agent --message "Ship checklist" --thinking high
curl -fsSL https://openclaw.ai/install.sh | bash
Works on macOS, Windows & Linux. The one-liner installs Node.js and everything else for you.
Prefer pnpm for builds from source. Bun is optional for running TypeScript directly.
git clone https://github.com/openclaw/openclaw.git
cd openclaw
pnpm install
pnpm ui:build # auto-installs UI deps on first run
pnpm build
pnpm openclaw onboard --install-daemon
# Dev loop (auto-reload on TS changes)
pnpm gateway:watch
Note: pnpm openclaw ... runs TypeScript directly (via tsx). pnpm build produces dist/ for running via Node / the packaged openclaw binary. Legacy: clawdbot remains available as a compatibility shim.
OpenClaw supports Docker-based installations. You can run OpenClaw in a Docker container for isolated execution.
Docker installation is particularly useful for:
Quick Docker Install:
docker run -d --name openclaw \
-v ~/.openclaw:/root/.openclaw \
-p 18789:18789 \
ghcr.io/openclaw/openclaw:latest
For detailed Docker setup instructions, Docker Compose examples, and Unraid configuration, see the Docker deployment guide.
For users who prefer not to manage hardware or servers, Moltworker enables you to run OpenClaw on Cloudflare Workers without any physical infrastructure.
Moltworker is ideal for:
Learn more about deploying OpenClaw with Moltworker on Cloudflare Workers.
OpenClaw offers different release channels:
vYYYY.M.D or vYYYY.M.D-<patch>), npm dist-tag latest.vYYYY.M.D-beta.N), npm dist-tag beta (macOS app may be missing).main, npm dist-tag dev (when published).Switch channels: openclaw update --channel stable|beta|dev
Note: The CLI command is now openclaw. Both moltbot and clawdbot remain available as compatibility aliases for backward compatibility.
To update OpenClaw to the latest version:
Update Commandopenclaw update
After updating, run openclaw doctor to check for issues and verify your configuration.