Getting Started
Goal: go from zero to a first working chat with minimal setup.
âšī¸ Fastest chat: open the Control UI (no channel setup needed). Run
openclaw dashboardand chat in the browser, or openhttp://127.0.0.1:18789/on the gateway host. Docs: Dashboard and Control UI.
Prereqs
- Node 22 or newer
đĄ Check your Node version with
node --versionif you are unsure.
Quick setup (CLI)
Step 1: Install OpenClaw (recommended)
curl -fsSL https://openclaw.ai/install.sh | bashâšī¸ Other install methods and requirements: Install.
Step 2: Run the onboarding wizard
openclaw onboard --install-daemon
The wizard configures auth, gateway settings, and optional channels. See Onboarding Wizard for details.
Step 3: Check the Gateway
If you installed the service, it should already be running:
openclaw gateway status
Step 4: Open the Control UI
openclaw dashboard
â If the Control UI loads, your Gateway is ready for use.
Optional checks and extras
Useful environment variables
If you run OpenClaw as a service account or want custom config/state locations:
OPENCLAW_HOMEsets the home directory used for internal path resolution.OPENCLAW_STATE_DIRoverrides the state directory.OPENCLAW_CONFIG_PATHoverrides the config file path.
Full environment variable reference: Environment vars.
Go deeper
Onboarding Wizard (details)
Full CLI wizard reference and advanced options.
macOS app onboarding
First run flow for the macOS app.
What you will have
- A running Gateway
- Auth configured
- Control UI access or a connected channel