Documentation Index
Fetch the complete documentation index at: https://openclaw.zhcndoc.com/llms.txt
Use this file to discover all available pages before exploring further.
openclaw setup
初始化 ~/.openclaw/openclaw.json 和代理工作区。
相关:
- 入门: Getting started
- CLI 引导: Onboarding (CLI)
示例
选项
--workspace <dir>: 代理工作区目录(存储为agents.defaults.workspace)--wizard: 运行引导流程--non-interactive: 无提示运行引导流程--mode <local|remote>: 引导模式--import-from <provider>: 在引导期间运行的迁移提供方--import-source <path>:--import-from的源代理主目录--import-secrets: 在引导迁移期间导入受支持的密钥--remote-url <url>: 远程 Gateway WebSocket URL--remote-token <token>: 远程 Gateway 令牌
- 纯粹的
openclaw setup会在不经过完整引导流程的情况下初始化配置 + 工作区。 - 在完成纯粹的 setup 之后,运行
openclaw configure以选择模型、通道、Gateway、插件、技能或健康检查。 - 当存在任何引导标志时,系统会自动运行引导流程(
--wizard、--non-interactive、--mode、--import-from、--import-source、--import-secrets、--remote-url、--remote-token)。 - 如果检测到 Hermes 状态,交互式引导可以自动提供迁移。导入引导需要全新安装;在引导之外使用 Migrate 进行 dry-run 计划、备份以及覆盖模式。