Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
openclaw setup
Initialize ~/.openclaw/openclaw.json and the agent workspace.
Related:
- Getting started: Getting started
- CLI onboarding: Onboarding (CLI)
Examples
Options
--workspace <dir>: agent workspace directory (stored asagents.defaults.workspace)--wizard: run onboarding--non-interactive: run onboarding without prompts--mode <local|remote>: onboarding mode--import-from <provider>: migration provider to run during onboarding--import-source <path>: source agent home for--import-from--import-secrets: import supported secrets during onboarding migration--remote-url <url>: remote Gateway WebSocket URL--remote-token <token>: remote Gateway token
- Plain
openclaw setupinitializes config + workspace without the full onboarding flow. - Onboarding auto-runs when any onboarding flags are present (
--wizard,--non-interactive,--mode,--import-from,--import-source,--import-secrets,--remote-url,--remote-token). - If Hermes state is detected, interactive onboarding can offer migration automatically. Import onboarding requires a fresh setup; use Migrate for dry-run plans, backups, and overwrite mode outside onboarding.