OpenClawSkills
GitHub
Platforms • TutorialHeader.readTime

Linux App

Linux support status and companion app state.

Gateway is fully supported on Linux. Node is recommended as the runtime.

Bun is not recommended for running Gateway (compatibility issues with WhatsApp/Telegram).

A native Linux companion app is planned. Contributions are welcome if you'd like to participate.

Tutorial.step

Beginner fastest path (VPS)

1. Install Node 22+

2. ''npm i -g openclaw@latest''

3. ''openclaw onboard --install-daemon''

4. On your laptop: ''ssh -N -L 18789:127.0.0.1:18789 <user>@<host>''

5. Open ''http://127.0.0.1:18789/'' and paste your token

VPS step-by-step guide: ''exe.dev''

Tutorial.step

Installation

Tutorial.step

Gateway

Tutorial.step

Gateway service install (CLI)

Any of these works:

Terminal
openclaw onboard --install-daemon

Or:

Terminal
openclaw gateway install

Or:

Terminal
openclaw configure

Choose Gateway service when prompted.

Repair/migrate:

Terminal
openclaw doctor
Tutorial.step

System control (systemd user unit)

OpenClaw installs a systemd ''user'' service by default. For shared or always-on servers, a ''system'' service is more appropriate. See ''Gateway runbook'' for complete unit examples and guidance.

Minimal example:

Create ''~/.config/systemd/user/openclaw-gateway[-<profile>].service'':

Terminal
[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

Enable:

Terminal
systemctl --user enable --now openclaw-gateway[-'<profile>'].service