Linux 应用
Gateway ?Linux 上完全受支持?推荐使用 Node 运行?? 不推荐在 Gateway 上使?Bun(存?WhatsApp/Telegram 相关问题)?
计划开发原?Linux 配套应用。欢迎贡献,如果您想帮助开发一个?
初学者快速路径(VPS?
- 安装 Node 22+
npm i -g openclaw@latestopenclaw onboard --install-daemon- 从您的笔记本电脑:
ssh -N -L 18789:127.0.0.1:18789 <user>@<host> - 打开
http://127.0.0.1:18789/并粘贴您?token
逐步 VPS 指南:exe.dev
安装
Gateway
Gateway 服务安装(CLI?
使用以下任一方式?
openclaw onboard --install-daemon
或者:
openclaw gateway install
或者:
openclaw configure
出现提示时选择 Gateway 服务?
修复/迁移?
openclaw doctor
系统控制(systemd 用户单元?
OpenClaw 默认安装一?systemd 用户服务。对于共享或始终在线的服务器,请使用系统服务。完整的单元示例和指南请参阅 Gateway 运行手册?
最小配置:
创建 ~/.config/systemd/user/openclaw-gateway[-<profile>].service?
[Unit]
Description=OpenClaw Gateway (profile: <profile>, v<version>)
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[-<profile>].service