Linux
Running OpenClaw on Linux.
Requirements
- Linux kernel 4.x or later
- x64 or ARM64 architecture
- glibc 2.17+
Supported Distributions
- Ubuntu 20.04+
- Debian 10+
- Fedora 35+
- Arch Linux
- Most other modern distributions
Installation
bash
curl -fsSL https://get.openclaw.ai | bashsystemd Service
Run as a system service:
bash
# Install service
sudo openclaw gateway install-service
# Enable on boot
sudo systemctl enable openclaw-gateway
# Start service
sudo systemctl start openclaw-gateway
# Check status
sudo systemctl status openclaw-gatewayService file location: /etc/systemd/system/openclaw-gateway.service
User Service
Run as a user service (no root):
bash
# Install user service
openclaw gateway install-service --user
# Enable
systemctl --user enable openclaw-gateway
# Start
systemctl --user start openclaw-gatewayDocker
Run in Docker container:
bash
docker run -d \
-v ~/.config/openclaw:/root/.config/openclaw \
-p 3000:3000 \
openclaw/openclaw:latestHeadless Servers
For servers without a display:
json5
{
tools: {
browser: {
headless: true
}
}
}