docs/cli/setup.md
openclaw setupInitialize ~/.openclaw/openclaw.json and the agent workspace.
Related:
openclaw setup
openclaw setup --workspace ~/.openclaw/workspace
openclaw setup --wizard
openclaw setup --wizard --import-from hermes --import-source ~/.hermes
openclaw setup --non-interactive --mode remote --remote-url wss://gateway-host:18789 --remote-token <token>
--workspace <dir>: agent workspace directory (stored as agents.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 tokenTo run onboarding via setup:
openclaw setup --wizard
Notes:
openclaw setup initializes config + workspace without the full onboarding flow.openclaw configure to choose models, channels, Gateway, plugins, skills, or health checks.--wizard, --non-interactive, --mode, --import-from, --import-source, --import-secrets, --remote-url, --remote-token).