Deploy Claude Code on Local Machine
Run Claude Code on Local Machine 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
EnvironmentLocal Machine
Run this command
Paste this in your terminal (macOS, Linux, or WSL). It installs AgentSea, then starts agentsea claude local 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 localAlready installed? Run deploy only
shell
agentsea claude localInstall 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 Local Machine, 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 Local Machine.
shell
bash <(curl -fsSL https://agentsea.thegrid.ai/local/claude.sh)