Skip to content

Instantly share code, notes, and snippets.

@fazlurr
Forked from dabit3/setup.md
Created February 4, 2026 04:19
Show Gist options
  • Select an option

  • Save fazlurr/def9a5e14bffa98da98b0eaf842376c1 to your computer and use it in GitHub Desktop.

Select an option

Save fazlurr/def9a5e14bffa98da98b0eaf842376c1 to your computer and use it in GitHub Desktop.
How to set up OpenClaw on Digital Ocean

OpenClaw on DigitalOcean

1. Create a Droplet

Ubuntu 24.04 LTS, nearest region

2. Select Premium AMD

2 GB RAM / 1 AMD CPU / 50 GB NVMe

3. SSH into server

ssh root@YOUR_IP

4. Create sudo user

adduser clawuser && usermod -aG sudo clawuser && su - clawuser

5. Install OpenClaw

npm install -g openclaw@latest

Then run exec bash

6. Configure API keys

openclaw onboard --install-daemon

7. Start gateway

openclaw gateway --port 18789 --verbose

8. SSH tunnel to access UI

ssh -L 18789:127.0.0.1:18789 clawuser@YOUR_IP

Open http://127.0.0.1:18789

9. DashbToard

Run openclaw dashboard if you are trying to connect and can't find the token.

10. Troubleshooting

Run openclaw doctor to diagnose issues and surface risky/misconfigured settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment