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 网关,则附加到该实例)。
安装 CLI(本地模式必需)
Mac 上的默认运行时是 Node 24。Node 22 LTS(当前为22.14+)出于兼容性考虑仍然可用。然后全局安装 openclaw:
launchd(作为 LaunchAgent 的 Gateway 网关)
标签: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 Active” 会启用/禁用 LaunchAgent。
- 退出应用不会停止 gateway(launchd 会保持其存活)。
- 如果配置的端口上已经有一个 Gateway 网关在运行,应用会附加到 该实例,而不是启动新的实例。
- launchd stdout/err:
/tmp/openclaw/openclaw-gateway.log