Linux Installation

Automated Setup

curl -fsSL https://openclaw.ai/install.sh | bash

Distribution Specifics

Running as a Daemon (systemd)

To keep OpenClaw running 24/7 on your server, create a systemd unit file at /etc/systemd/system/openclaw.service.

[Unit]
Description=OpenClaw AI Gateway
After=network.target

[Service]
Type=simple
User=youruser
ExecStart=/usr/bin/openclaw start
Restart=always

[Install]
WantedBy=multi-user.target