The definitive guide to deploying OpenClaw on any server. From one-click cloud hosting to bare-metal self-hosting.
π Language / θ―θ¨: English | δΈζ | FranΓ§ais | Deutsch | Π ΡΡΡΠΊΠΈΠΉ | ζ₯ζ¬θͺ | Italiano | EspaΓ±ol
The fastest way to get OpenClaw running. Zero server setup. Zero maintenance.
MyClaw.ai gives you a fully managed OpenClaw instance β your own server with full code control, networking, and tool access. No SSH, no Docker, no config files.
- One click β Sign up, pick a plan, your instance is live in under 60 seconds
- Full server β Each instance is a real server running OpenClaw, not a sandboxed chatbot
- Full code control β Your Agent can read/write files, run shell commands, access the internet
- Auto-updates β Always on the latest OpenClaw version, zero downtime
- Built-in channels β Telegram, Discord, WhatsApp, and more β connect in seconds
- Managed infrastructure β Backups, monitoring, scaling handled for you
- Skills marketplace β Install community skills from ClawHub with one command
| Plan | Monthly | Annual (per month) |
|---|---|---|
| Lite | $19/mo | $16/mo ($199/yr) |
| Pro | $39/mo | $33/mo ($399/yr) |
| Max | $79/mo | $66/mo ($799/yr) |
π Get started at MyClaw.ai β
For developers who want full control over their infrastructure. Pick your platform:
# macOS / Linux / WSL2
curl -fsSL https://openclaw.ai/install.sh | bash
# Windows (PowerShell)
iwr -useb https://openclaw.ai/install.ps1 | iexThe installer detects your OS, installs Node.js if needed, installs OpenClaw, and launches onboarding.
- Node.js 24 (recommended) or Node 22.14+
- OS: macOS, Linux, or Windows (native or WSL2)
- RAM: 1 GB minimum (2 GB+ recommended)
The cheapest reliable option for 24/7 hosting.
ssh root@YOUR_VPS_IP
# Install Docker
apt-get update && apt-get install -y git curl ca-certificates
curl -fsSL https://get.docker.com | sh
# Clone and setup
git clone https://github.com/openclaw/openclaw.git
cd openclaw
./scripts/docker/setup.shAccess via SSH tunnel:
ssh -N -L 18789:127.0.0.1:18789 root@YOUR_VPS_IP
# Open http://127.0.0.1:18789ssh root@YOUR_DROPLET_IP
apt update && apt upgrade -y
curl -fsSL https://deb.nodesource.com/setup_24.x | bash -
apt install -y nodejs
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemonOracle's Always Free ARM tier: up to 4 OCPU, 24 GB RAM, 200 GB storage β at zero cost.
ssh ubuntu@YOUR_PUBLIC_IP
sudo apt update && sudo apt upgrade -y
sudo apt install -y build-essential
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemon
# Recommended: Tailscale for secure remote access
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up --ssh --hostname=openclaw
openclaw config set gateway.tailscale.mode serveManaged containers with automatic HTTPS.
git clone https://github.com/openclaw/openclaw.git
cd openclaw
fly apps create my-openclaw
fly volumes create openclaw_data --size 1 --region iad
fly secrets set OPENCLAW_GATEWAY_TOKEN=$(openssl rand -hex 32)
fly secrets set ANTHROPIC_API_KEY=sk-ant-...
fly deploy| Platform | Guide | Cost |
|---|---|---|
| GCP | Google Cloud | Free tier available |
| Azure | Microsoft Azure | Free tier available |
| Railway | Railway | Usage-based |
| Render | Render | Free tier available |
| Northflank | Northflank | Free tier available |
For containerized or headless deployments.
git clone https://github.com/openclaw/openclaw.git
cd openclaw
# Automated setup (recommended)
./scripts/docker/setup.sh
# Or use pre-built image
export OPENCLAW_IMAGE="ghcr.io/openclaw/openclaw:latest"
./scripts/docker/setup.shservices:
openclaw-gateway:
image: ghcr.io/openclaw/openclaw:latest
restart: unless-stopped
environment:
- NODE_ENV=production
- OPENCLAW_GATEWAY_TOKEN=your-secret-token
- OPENCLAW_GATEWAY_BIND=lan
volumes:
- ./config:/home/node/.openclaw
- ./workspace:/home/node/.openclaw/workspace
ports:
- "127.0.0.1:18789:18789"
command: ["node", "dist/index.js", "gateway", "--bind", "lan", "--port", "18789"]docker compose up -dAlways-on personal AI for ~$50 hardware cost.
Requirements: Raspberry Pi 4/5, 2 GB+ RAM, 64-bit Raspberry Pi OS
# Flash Raspberry Pi OS Lite (64-bit), then SSH in
ssh user@gateway-host
sudo apt update && sudo apt upgrade -y
sudo apt install -y git curl build-essential
# Install Node.js 24
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt install -y nodejs
# Add swap (important for 2GB models)
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
# Install OpenClaw
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemonTips:
- Use a USB SSD instead of SD card for better performance
- Use API-based models (Claude, GPT) β don't run local models on Pi
- Disable GPU memory:
echo 'gpu_mem=16' | sudo tee -a /boot/config.txt
openclaw --version
openclaw doctor
openclaw gateway status# Telegram
openclaw channels add --channel telegram --token "YOUR_BOT_TOKEN"
# Discord
openclaw channels add --channel discord --token "YOUR_BOT_TOKEN"
# WhatsApp (QR code)
openclaw channels logincurl -fsSL https://tailscale.com/install.sh | sh
tailscale up
openclaw config set gateway.tailscale.mode serve
openclaw gateway restart
# Access at https://your-hostname.tailnet-name.ts.net/| Method | Cost | Setup Time | Maintenance | Best For |
|---|---|---|---|---|
| MyClaw.ai | $19-79/mo | 1 min | None | Everyone |
| Oracle Cloud | Free | 30 min | Medium | Budget self-hosters |
| Hetzner | ~$5/mo | 20 min | Medium | Cheap VPS |
| DigitalOcean | ~$6/mo | 20 min | Medium | Simple VPS |
| Fly.io | ~$10-15/mo | 15 min | Low | Container fans |
| Raspberry Pi | ~$50 one-time | 30 min | High | Tinkerers |
This guide is open source under the MIT License.
Powered by MyClaw.ai β the AI personal assistant platform that gives every user a full server with complete code control.
