OpenClaw no Linux — Ubuntu, Debian, Fedora

OpenClaw no Linux

Instalação

Ubuntu/Debian

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs
npm install -g openclaw

Arch

pacman -S nodejs npm
npm install -g openclaw

Fedora

dnf install nodejs
npm install -g openclaw

Systemd Service

openclaw gateway install-daemon

Ou manualmente:

# ~/.config/systemd/user/openclaw-gateway.service
[Unit]
Description=OpenClaw Gateway
After=network.target

[Service]
ExecStart=/usr/bin/openclaw gateway
Restart=always
RestartSec=10

[Install]
WantedBy=default.target
systemctl --user enable openclaw-gateway
systemctl --user start openclaw-gateway

Headless (Server)

Para browser automation sem GUI:

sudo apt install xvfb chromium-browser
xvfb-run openclaw gateway