What you need
- Node.js 24.16+ or 26.1+ (Node 26 is the recommended runtime)
- An existing Claude Code or Codex CLI login, or a provider API key — onboarding can reuse it
Try it in one command
openclaw gateway install. Run openclaw for the TUI or
openclaw dashboard to reopen the web UI.
Quick setup
1
Install OpenClaw
- macOS / Linux
- Windows (PowerShell)
Other install methods (Docker, Nix, npm): Install.
2
Complete onboarding
The installer starts the guided onboarding wizard automatically. Choose
Quick start to reuse detected AI access and open the dashboard, or
Custom setup for the full guided flow. Provider sign-in and optional
setup can take longer. Return later with
openclaw configure for
additional settings. openclaw onboard --classic opens the classic
step-by-step wizard instead.See Onboarding (CLI) for the full reference.3
Install the Gateway service
Quick start keeps the Gateway in the foreground of this terminal. The next
steps need it running in the background. Press Ctrl+C to stop the
foreground Gateway, then install the service:This installs a LaunchAgent on macOS, a systemd user unit on Linux and
WSL2, or a Scheduled Task on native Windows (with a per-user
Startup-folder login item as the fallback if task creation is denied).
Your config stays saved across the stop and the install.
4
Verify the Gateway is running
5
Open the dashboard
Advanced: mount a custom Control UI build
Advanced: mount a custom Control UI build
If you maintain a localized or customized dashboard build, point
Then set:Restart the gateway and reopen the dashboard:
gateway.controlUi.root to a directory that contains your built static
assets and index.html.If setup does not work
One command turns the current state of your install into a diagnosis you can act on:openclaw doctor. For symptom-first routes, see Troubleshooting.
What to do next
Connect a channel
Discord, Feishu, iMessage, Matrix, Microsoft Teams, Signal, Slack, Telegram, WhatsApp, Zalo, and more.
Pairing and safety
Control who can message your agent.
Configure the Gateway
Models, tools, sandbox, and advanced settings.
Browse tools
Browser, exec, web search, skills, and plugins.
Advanced: environment variables
Advanced: environment variables
If you run OpenClaw as a service account or want custom paths:
OPENCLAW_HOME— home directory for internal path resolutionOPENCLAW_STATE_DIR— override the state directoryOPENCLAW_CONFIG_PATH— override the config file path
Related
- Install overview
- Channels overview
- Setup
- Personal assistant setup - end-to-end guide to a dedicated number that behaves like an always-on assistant
- Triage
- Troubleshooting