Linux
The Gateway is fully supported on Linux
Overview
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)
- Install Node 22+
npm i -g clawdbot@latestclawdbot 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
Follow the Getting Started guide.
Optional flows:
Gateway service install (CLI)
Use one of these:
clawdbot onboard --install-daemonOr:
clawdbot gateway installOr:
clawdbot configureSelect Gateway service when prompted.
Repair/migrate:
clawdbot doctorSystem control (systemd user unit)
Clawdbot installs a systemd user service by default. Use a system service for shared or always-on servers.
Minimal setup
Create ~/.config/systemd/user/clawdbot-gateway[-<profile>].service:
[Unit]
Description=Clawdbot Gateway (profile: <profile>, v<version>)
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/local/bin/clawdbot gateway --port 18789
Restart=always
RestartSec=5
[Install]
WantedBy=default.targetEnable it:
systemctl --user enable --now clawdbot-gateway[-<profile>].service