Skip to content

Instantly share code, notes, and snippets.

@dabit3
Last active February 1, 2026 03:27
Show Gist options
  • Select an option

  • Save dabit3/42cce744beaa6a0d47d6a6783e443636 to your computer and use it in GitHub Desktop.

Select an option

Save dabit3/42cce744beaa6a0d47d6a6783e443636 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.

@sostenesapollo
Copy link

and regarding the ssh authentication ?

@Mis4nthr0pic
Copy link

What I don’t really understand is the pricing. How are people dealing with that? Using it with Claude feels almost impossible, it’s basically a minimum of $20 per day in credits. Which models are actually more cost-effective?

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