Quick start and first-run setup
Recommended way to install and set up OpenClaw
Recommended way to install and set up OpenClaw
openclaw onboard --install-daemon instead of the two
commands above. That flag selects the classic flow, so you do not see the
guided Quick start and Custom setup choice.From source (contributors/dev):pnpm openclaw onboard instead. If Control UI assets are
missing, onboarding tries to build them itself, falling back to pnpm ui:build.I am stuck, fastest way to get unstuck
I am stuck, fastest way to get unstuck
- Claude Code: https://www.anthropic.com/claude-code/
- OpenAI Codex: https://openai.com/codex/
How do I open the dashboard after onboarding?
How do I open the dashboard after onboarding?
How do I authenticate the dashboard on localhost vs remote?
How do I authenticate the dashboard on localhost vs remote?
- Open
http://127.0.0.1:18789/. - If it asks for shared-secret auth, paste the configured token or password into Control UI settings.
- Token source:
gateway.auth.token(orOPENCLAW_GATEWAY_TOKEN). - Password source:
gateway.auth.password(orOPENCLAW_GATEWAY_PASSWORD). - No shared secret configured yet? Run
openclaw doctor --generate-gateway-token(oropenclaw doctor --fix --generate-gateway-token).
- Tailscale Serve (recommended): keep bind loopback, run
openclaw gateway --tailscale serve, openhttps://<magicdns>/. Withgateway.auth.allowTailscale: true, identity headers satisfy Control UI/WebSocket auth (no pasted shared secret, assumes a trusted gateway host); HTTP APIs still need shared-secret auth unless you deliberately use private-ingressnoneor trusted-proxy HTTP auth. Concurrent bad-auth Serve attempts from the same client are serialized before the failed-auth limiter records them, so a second bad retry can already showretry later. - Identity-aware reverse proxy: keep the Gateway behind a trusted proxy, set
gateway.auth.mode: "trusted-proxy", open the proxy URL. Same-host loopback proxies need explicitgateway.auth.trustedProxy.allowLoopback: true. - SSH tunnel:
ssh -N -L 18789:127.0.0.1:18789 user@gateway-host, then openhttp://127.0.0.1:18789/. Shared-secret auth still applies over the tunnel; paste the configured token or password if prompted.
Heartbeat keeps skipping. What do the skip reasons mean?
Heartbeat keeps skipping. What do the skip reasons mean?
tasks: blocks migrate to independently scheduled cron jobs with openclaw doctor --fix.Docs: Heartbeat, Automation.Why are there two exec approval configs for chat approvals?
Why are there two exec approval configs for chat approvals?
approvals.exec- forwards approval prompts to chat destinations.channels.<channel>.execApprovals- makes that channel a native approval client for exec approvals.
- If the chat already supports commands and replies, same-chat
/approveworks through the shared path. - For supported native clients, set
channels.<channel>.execApprovals.enabled: "auto"ortrueand configure approvers or the channel’s supported owner identity. Discord and Slack require explicit enablement; Telegram treats unset as"auto". - When native approval cards/buttons are available, that UI is primary; only mention a manual
/approvecommand if the tool result says chat approvals are unavailable. - Use
approvals.execonly when prompts must also reach other chats or explicit ops rooms. - Use
channels.<channel>.execApprovals.target: "channel"or"both"only when you want approval prompts posted back into the originating room/topic. - Plugin approvals are separate: same-chat
/approveby default, optionalapprovals.pluginforwarding, and only some native channels keep native handling for those too.
What runtime do I need?
What runtime do I need?
pnpm is the repo package manager.
Bun 1.4+ builds with WAL-reset-safe node:sqlite can run the CLI, Gateway, and managed node host as an explicit opt-in.Does it run on Raspberry Pi?
Does it run on Raspberry Pi?
Any tips for Raspberry Pi installs?
Any tips for Raspberry Pi installs?
- Use a 64-bit OS; do not use 32-bit Raspberry Pi OS.
- Add swap on 2 GB or smaller boards.
- Prefer a USB SSD over an SD card for performance and longevity.
- Prefer the hackable (git) install so you can see logs and update fast.
- Start without channels/skills, add them one by one.
- Weird binary failures (“exec format error”) are usually a missing ARM64 build for an optional skill tool.
It is stuck on wake up my friend / onboarding will not hatch. What now?
It is stuck on wake up my friend / onboarding will not hatch. What now?
openclaw onboard again.
That is the one command for changing the model provider or its authentication.
If you see the wake-up line with no reply and tokens stay at 0, the agent never ran.- Restart the Gateway:
- Check status + auth:
- Still hanging? Run:
Can I migrate my setup to a new machine without redoing onboarding?
Can I migrate my setup to a new machine without redoing onboarding?
- Install OpenClaw on the new machine.
- Copy
$OPENCLAW_STATE_DIR(default:~/.openclaw) from the old machine. - Copy your workspace (default:
~/.openclaw/workspace). - Run
openclaw doctorand restart the Gateway service.
~/.openclaw/ (for example ~/.openclaw/agents/<agentId>/agent/openclaw-agent.sqlite).Related: Migrating, Where things live on disk,
Agent workspace, Doctor,
Remote mode.Where do I see what is new in the latest version?
Where do I see what is new in the latest version?
Cannot access docs.openclaw.ai (SSL error)
Cannot access docs.openclaw.ai (SSL error)
docs.openclaw.ai via Xfinity
Advanced Security. Disable it or allowlist docs.openclaw.ai, then retry. Help us
get it unblocked: https://spa.xfinity.com/check_url_status.Still blocked? Docs are mirrored on GitHub:
https://github.com/openclaw/openclaw/tree/main/docsDifference between stable and beta
Difference between stable and beta
latest= stablebeta= early build for testing (falls back tolatestwhen beta is missing or older than the current stable release)
latest without changing the version number. Maintainers
can also publish straight to latest. That is why beta and stable can point at the
same version after promotion.See what changed: CHANGELOG.md.For install one-liners and the difference between beta and dev, see the next accordion.How do I install the beta version and what is the difference between beta and dev?
How do I install the beta version and what is the difference between beta and dev?
beta (may match latest after promotion).
Dev is the moving head of main (git); when published to npm it uses dist-tag dev.One-liners (macOS/Linux):iwr -useb https://openclaw.ai/install.ps1 | iexMore detail: Development channels and Installer flags.How do I try the latest bits?
How do I try the latest bits?
- Dev channel (existing install):
main, rebases on upstream, builds, and installs
the CLI from that checkout.- Hackable (git) install (fresh machine):
How long does install and onboarding usually take?
How long does install and onboarding usually take?
- Install: 2-5 minutes.
- QuickStart onboarding: a few minutes (loopback gateway, auto token, default workspace).
- Advanced/full onboarding: longer when provider sign-in, channel pairing, daemon install, network downloads, or skills need extra setup.
openclaw configure.Hanging? See I am stuck above.Installer stuck? How do I get more feedback?
Installer stuck? How do I get more feedback?
--verbose:install.ps1 has no dedicated verbose switch; wrap it in Set-PSDebug -Trace 1 /
-Trace 0 instead. Full flag reference: Installer flags.Windows install says git not found or openclaw not recognized
Windows install says git not found or openclaw not recognized
- Install Git for Windows, make sure
gitis on PATH. - Close and reopen PowerShell, then re-run the installer.
- Your npm global bin folder is not on PATH.
- Check it:
npm config get prefix. - Add that directory to your user PATH (no
\binsuffix needed; on most systems it is%AppData%\npm). - Close and reopen PowerShell.
Windows exec output shows garbled Chinese text - what should I do?
Windows exec output shows garbled Chinese text - what should I do?
system.run/exec output renders Chinese as mojibake; the same command
looks fine in another terminal profile.Workaround in PowerShell:The docs did not answer my question - how do I get a better answer?
The docs did not answer my question - how do I get a better answer?
How do I install OpenClaw on Linux?
How do I install OpenClaw on Linux?
- Linux quick path + service install: Linux.
- Full walkthrough: Getting Started.
- Installer + updates: Install & updates.
How do I install OpenClaw on a VPS?
How do I install OpenClaw on a VPS?
Where are the cloud/VPS install guides?
Where are the cloud/VPS install guides?
- VPS hosting (all providers in one place)
- Fly.io
- Hetzner
- exe.dev
Can I ask OpenClaw to update itself?
Can I ask OpenClaw to update itself?
--channel accepts stable, extended-stable, beta, or dev. --tag
accepts an npm dist-tag or an exact version.Automating from an agent:What does onboarding actually do?
What does onboarding actually do?
openclaw onboard is the recommended setup path. On a fresh local install it
offers two lanes after a one-line pointer to the security guide:- Quick start detects the AI access you already have, waits for you to
choose a connection, verifies that one choice with a real completion,
prepares the agent workspace, and then starts the Gateway in the
foreground and opens the browser dashboard. It uses the default agent
name
mainand full access, and skips memory import and app recommendations. Choose Skip for now in the picker to prepare the local baseline and exit without starting the Gateway or AI chat. - Custom setup runs the same guided flow with the telemetry choice, agent name, access mode, and optional setup prompts kept as questions.
openclaw onboard --classic for its Workspace, Model/Auth, Gateway,
Channels, Web search, Skills, Daemon, and Health check steps. The step list
is in Onboarding (CLI).Quick start is not offered for configured installs, remote Gateway chat
setup, non-interactive runs, or runs with --skip-ui or --tui.
Full breakdown: Onboarding (CLI).Do I need a Claude or OpenAI subscription to run this?
Do I need a Claude or OpenAI subscription to run this?
claude -p path as Agent SDK/programmatic usage that
still draws from your subscription’s plan limits - check current Anthropic billing
docs before relying on subscription behavior. For long-lived gateway hosts and shared
automation, an Anthropic API key is the more predictable choice.OpenAI Codex OAuth (ChatGPT/Codex subscription) is fully supported for agent models.
OpenClaw also supports hosted subscription-style options including Qwen Cloud
Coding Plan, MiniMax Coding Plan, and Z.AI / GLM Coding Plan.Docs: Anthropic, OpenAI,
Qwen Cloud, MiniMax, Z.AI (GLM),
Local models, Models.Can I use Claude Max subscription without an API key?
Can I use Claude Max subscription without an API key?
claude -p path OpenClaw uses as subscription-plan usage subject
to your plan’s limits, not a separate free allowance - see
Anthropic for the current billing detail and links to
Anthropic’s own support articles. For the most predictable server-side setup, use an
Anthropic API key instead.Do you support Claude subscription auth (Claude Pro or Max)?
Do you support Claude subscription auth (Claude Pro or Max)?
claude -p/Agent SDK usage
has changed over time; see Anthropic for the current state and
dated links to Anthropic’s support articles before relying on specific billing
behavior.Anthropic setup-token auth is also still a supported token path, but OpenClaw prefers
Claude CLI reuse and claude -p when available. For production or multi-user
workloads, an Anthropic API key remains the safer, more predictable choice. Other
subscription-style hosted options: OpenAI, Qwen Cloud,
MiniMax, Z.AI (GLM).