mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 13:53:18 +08:00
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。 Made-with: Cursor
1.3 KiB
1.3 KiB
| summary | read_when | title | ||
|---|---|---|---|---|
| CLI reference for `openclaw setup` (initialize config + workspace) |
|
setup |
openclaw setup
Initialize ~/.openclaw/openclaw.json and the agent workspace.
Related:
- Getting started: Getting started
- CLI onboarding: Onboarding (CLI)
Examples
openclaw setup
openclaw setup --workspace ~/.openclaw/workspace
openclaw setup --wizard
openclaw setup --non-interactive --mode remote --remote-url wss://gateway-host:18789 --remote-token <token>
Options
--workspace <dir>: agent workspace directory (stored asagents.defaults.workspace)--wizard: run onboarding--non-interactive: run onboarding without prompts--mode <local|remote>: onboarding mode--remote-url <url>: remote Gateway WebSocket URL--remote-token <token>: remote Gateway token
To run onboarding via setup:
openclaw setup --wizard
Notes:
- Plain
openclaw setupinitializes config + workspace without the full onboarding flow. - Onboarding auto-runs when any onboarding flags are present (
--wizard,--non-interactive,--mode,--remote-url,--remote-token).