OpenClaw.app 不再隨附 Node/Bun 或 Gateway 執行階段。macOS 應用程式預期使用外部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 CLI 安裝,不會將 Gateway 作為子程序啟動,並會管理每位使用者的 launchd 服務,以保持 Gateway 持續執行(或在已有本機 Gateway 執行時附加至該 Gateway)。
安裝 CLI(本機模式必要)
Node 24 是 Mac 上的預設執行階段。Node 22 LTS(目前為22.14+)仍可用於相容性。接著全域安裝 openclaw:
Launchd(將 Gateway 作為 LaunchAgent)
標籤:ai.openclaw.gateway(或ai.openclaw.<profile>;舊版com.openclaw.*可能仍會保留)
~/Library/LaunchAgents/ai.openclaw.gateway.plist(或~/Library/LaunchAgents/ai.openclaw.<profile>.plist)
- macOS 應用程式在本機模式中負責 LaunchAgent 的安裝/更新。
- CLI 也可以安裝它:
openclaw gateway install。
- 「OpenClaw 作用中」會啟用/停用 LaunchAgent。
- 離開應用程式不會停止 gateway(launchd 會讓它保持執行)。
- 如果已有 Gateway 在設定的連接埠上執行,應用程式會附加至該 Gateway,而不是啟動新的 Gateway。
- launchd stdout/err:
/tmp/openclaw/openclaw-gateway.log