Documentation Index
Fetch the complete documentation index at: https://mintlify.com/zhcndoc/openclaw/llms.txt
Use this file to discover all available pages before exploring further.
Linux 应用
Gateway 在 Linux 上完全支持。推荐使用 Node 作为运行时。
不建议在 Gateway 上使用 Bun(WhatsApp/Telegram 存在 BUG)。
计划开发原生 Linux 伴随应用。如果你想帮助开发,欢迎贡献代码。
初学者快速路径 (VPS)
# 1. 安装 Node 22+
# 2. 运行
npm i -g openclaw@latest
# 3. 运行
openclaw onboard --install-daemon
# 4. 从你的笔记本连接
ssh -N -L 18789:127.0.0.1:18789 <user>@<host>
# 5. 打开浏览器
http://127.0.0.1:18789/
VPS 详细步骤指南:exe.dev
Gateway
Gateway 服务安装 (CLI)
使用以下命令之一:
openclaw onboard --install-daemon
或者:
或者:
修复/迁移:
系统控制 (systemd 用户单元)
默认情况下,OpenClaw 安装了一个 systemd 用户服务。
最简设置:
创建 ~/.config/systemd/user/openclaw-gateway.service:
[Unit]
Description=OpenClaw Gateway
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/local/bin/openclaw gateway --port 18789
Restart=always
RestartSec=5
[Install]
WantedBy=default.target
启用它:
systemctl --user enable --now openclaw-gateway.service
查看状态
systemctl --user status openclaw-gateway
查看日志
journalctl --user -u openclaw-gateway -f
重启服务
systemctl --user restart openclaw-gateway
相关文档