Linux App
Linux App
Section titled “Linux App”The Gateway is fully supported on Linux. Node is the recommended runtime. Bun is not recommended for the Gateway (WhatsApp/Telegram bugs).
Native Linux companion apps are planned. Contributions are welcome if you want to help build one.
Beginner quick path (VPS)
Section titled “Beginner quick path (VPS)”- Install Node 22+
npm i -g openclaw@latestopenclaw onboard --install-daemon- From your laptop:
ssh -N -L 18789:127.0.0.1:18789 <user>@<host> - Open
http://127.0.0.1:18789/and paste your token
Install
Section titled “Install”- Getting Started
- Install & updates
- Optional flows: Docker
Gateway
Section titled “Gateway”Gateway service install (CLI)
Section titled “Gateway service install (CLI)”Use one of these:
openclaw onboard --install-daemonOr:
openclaw gateway installOr:
openclaw configureSelect Gateway service when prompted.
Repair/migrate:
openclaw doctorSystem control (systemd user unit)
Section titled “System control (systemd user unit)”OpenClaw installs a systemd user service by default. Use a system service for shared or always-on servers. The full unit example and guidance live in the Gateway runbook.
Minimal setup:
Create ~/.config/systemd/user/openclaw-gateway[-<profile>].service:
[Unit]Description=OpenClaw Gateway (profile: <profile>, v<version>)After=network-online.targetWants=network-online.target
[Service]ExecStart=/usr/local/bin/openclaw gateway --port 18789Restart=alwaysRestartSec=5
[Install]WantedBy=default.targetEnable it:
systemctl --user enable --now openclaw-gateway[-<profile>].service