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
初始化 ~/.openclaw/openclaw.json 與代理工作區。
相關:
範例
選項
--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會初始化設定與工作區,而不會執行完整的入門導覽流程。 - 當任何入門導覽旗標存在時,會自動執行入門導覽(
--wizard、--non-interactive、--mode、--import-from、--import-source、--import-secrets、--remote-url、--remote-token)。 - 如果偵測到 Hermes 狀態,互動式入門導覽可以自動提供遷移。匯入入門導覽需要全新設定;若要在入門導覽之外進行試跑計畫、備份與覆寫模式,請使用遷移。