平台
OpenClaw 核心是用 TypeScript 编写的。Node 是推荐的运行时。 不推荐在 Bun 上使用 Gateway(网关) —— 已知 WhatsApp 和 Telegram 渠道存在问题;有关详细信息,请参阅 Bun (实验性)。
存在适用于 macOS(菜单栏应用)和移动节点(iOS/Android)的配套应用。Windows 和 Linux 的配套应用已在计划中,但 Gateway(网关) 目前已完全支持。 适用于 Windows 的原生配套应用也在计划中;建议通过 Gateway(网关) 使用 WSL2。
选择你的操作系统
Section titled “选择你的操作系统”VPS 和主机托管
Section titled “VPS 和主机托管”- VPS 中心: VPS 托管
- Fly.io: Fly.io
- Hetzner (Docker): Hetzner
- GCP (Compute Engine): GCP
- Azure (Linux 虚拟机): Azure
- exe.dev (虚拟机 + HTTPS 代理): exe.dev
- EasyRunner (Podman + Caddy): EasyRunner
- 安装指南:入门指南
- Gateway(网关) 运维手册:Gateway(网关)
- Gateway(网关) 配置:Configuration
- 服务状态:
openclaw gateway status
Gateway(网关) 服务安装 (CLI)
Section titled “Gateway(网关) 服务安装 (CLI)”使用以下方法之一(均已支持):
- 向导(推荐):
openclaw onboard --install-daemon - 直接:
openclaw gateway install - 配置流程:
openclaw configureGateway(网关) → 选择 Gateway(网关) service - 修复/迁移:
openclaw doctor(提供安装或修复服务的选项)
服务目标取决于操作系统:
- macOS: LaunchAgent (macOS
ai.openclaw.gateway或ai.openclaw.<profile>; 旧版com.openclaw.*) - Linux/WSL2: systemd 用户服务 (LinuxWSL2
openclaw-gateway[-<profile>].service) - Windows 原生: 计划任务 (Windows
OpenClaw Gateway或OpenClaw Gateway (<profile>)),如果拒绝创建任务,则回退到每用户 Startup-folder 登录项