Automated Setup
curl -fsSL https://openclaw.ai/install.sh | bash
Distribution Specifics
- Ubuntu/Debian:
sudo apt update && sudo apt install -y nodejs npm git - Arch Linux:
sudo pacman -S nodejs npm git - Fedora:
sudo dnf install nodejs npm git
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