Deploy Claude Code on DigitalOcean
Run Claude Code on DigitalOcean with AgentSea — the easiest way to deploy Grid-backed AI agents on infrastructure you control. Copy the command below: it installs the CLI, then walks you through deployment interactively.
AgentClaude Code
EnvironmentDigitalOcean
Run this command
Paste this in your terminal (macOS, Linux, or WSL). It installs AgentSea, then starts agentsea claude digitalocean and guides you through the rest — API keys, provisioning, and connecting to your agent.
shell
curl -fsSL https://agentsea.thegrid.ai/install.sh | bash -s -- claude digitaloceanAlready installed? Run deploy only
shell
agentsea claude digitaloceanInstall CLI without deploying
shell
curl -fsSL https://agentsea.thegrid.ai/install.sh | bashInstall options and flags in the CLI Reference.
Common commands
shell
agentsea # Interactive picker
agentsea ls # List your deployments
agentsea matrix # Agent x cloud matrixAfter install — what to do next
Once AgentSea finishes provisioning Claude Code on DigitalOcean, here's how to get the most from your agent.
- Start a session — AgentSea connects you automatically, or run claude in your project folder.
- Ask Claude to explore your codebase, fix bugs, or ship a feature in plain language.
- Type /help inside Claude Code to see commands like /clear and /compact. Quickstart guide
- Reconnect later with agentsea connect or pick your server from agentsea list.
Prefer not to install the CLI?
Run this one-liner instead — no global install required. It downloads and runs the bootstrap script for Claude Code on DigitalOcean.
shell
bash <(curl -fsSL https://agentsea.thegrid.ai/digitalocean/claude.sh)