OpenClaw.app 不再內建 Node/Bun 或 Gateway runtime。macOS app 預期使用外部Documentation Index
Fetch the complete documentation index at: https://docs2.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 上的預設 runtime。Node 22 LTS,目前為22.16+,仍可相容運作。接著全域安裝 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 app 在本機模式中負責 LaunchAgent 的安裝/更新。
- CLI 也可以安裝它:
openclaw gateway install。
- 「OpenClaw 啟用」會啟用/停用 LaunchAgent。
- 結束 app 不會停止 gateway(launchd 會讓它保持執行)。
- 如果 Gateway 已在設定的連接埠上執行,app 會連接至 該 Gateway,而不是啟動新的 Gateway。
- launchd stdout/err:
/tmp/openclaw/openclaw-gateway.log