How to Set Up OpenClaw on a VPS

OpenClaw FAQ

Deploy OpenClaw on any VPS (DigitalOcean, Hetzner, AWS) with the standard installer. A $5-10/month VPS is enough for personal use.

Recommended VPS Specs

  • Minimum: 1 vCPU, 1GB RAM, 20GB storage ($5/month)
  • Recommended: 2 vCPU, 2GB RAM, 40GB storage ($10/month)
  • OS: Ubuntu 22.04 or 24.04 LTS

Setup Steps

  1. Create a VPS with your preferred provider
  2. SSH into your server
  3. Run the OpenClaw installer
  4. Complete onboarding and configure channels
  5. Set up the gateway as a systemd service for auto-restart

Why Use a VPS?

A VPS gives you 24/7 uptime so your AI assistant is always available. Your WhatsApp, Telegram, and other channels stay connected even when your laptop is closed. Most users spend $5-10/month on hosting.

# SSH into your VPS
ssh root@your-server-ip

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

# Start as background service
openclaw gateway start

# Check status
openclaw gateway status

Try OpenClaw — free and open source

Sign up and launch your AI agent in under a minute. No credit card required.

Get Started Free →