Install OpenClaw, connect a model (Anthropic/OpenAI), and run your first session in 10–15 minutes.
node --versionnode --version. If it shows v22.x.x or higher, you’re good. Otherwise:brew install node@22 node --version # should show v22.x.x
# Install nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash source ~/.bashrc # or ~/.zshrc # Install and activate Node 22 nvm install 22 nvm use 22 node --version # should show v22.x.x
curl -fsSL https://openclaw.ai/install.sh | bash
npm install -g openclaw@latest
openclaw --versionopenclaw onboard --install-daemon
The wizard will ask about:
~/.openclaw/workspace)openclaw gateway statusGateway: running Port: 18789 Uptime: just started
openclaw dashboardOr open manually: http://127.0.0.1:18789/
# Status openclaw gateway status # Restart gateway openclaw gateway restart # Follow logs openclaw logs --follow # Reconfigure openclaw configure # Run diagnostics openclaw doctor
All configuration is stored in ~/.openclaw/openclaw.json. You can edit it directly, but it’s easier to use openclaw configure.
chmod 600).If you installed the service during onboarding, OpenClaw will start automatically. You can check/control it with:
# Linux (systemd) systemctl --user status openclaw-gateway systemctl --user restart openclaw-gateway # macOS (LaunchAgent) launchctl list | grep openclaw