---
title: "Claude Code on a VPS: remote coding agent server · CloudSat"
description: "Run Claude Code on a CloudSat VPS: Anthropic's terminal coding agent on a remote Ubuntu box with root SSH, NVMe storage and sessions that keep running."
url: https://cloudsat.io/apps/deploy-claude-code
updated: 2026-11-18T15:52:34Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Self-hosted](https://cloudsat.io/apps/category/self-hosted-essentials)

# Claude Code on a VPS

Claude Code is Anthropic's agentic coding tool for the terminal. On a CloudSat server, long sessions keep going after you close your laptop.

[Deploy Claude Code](https://dash.cloudsat.io/console/deploy?image=app%3Aclaude-code&plan=cloud-4g) [All apps](https://cloudsat.io/apps)

## About Claude Code

Claude Code is Anthropic's agentic coding tool. It runs in a terminal, reads the project it starts in and handles requests such as fixing a failing test or preparing a commit, asking before it edits files or runs commands.

A server gives the agent its own sandbox: sessions survive a dropped SSH link inside `tmux`, builds use server CPU, and only that machine's files are in reach. [High Frequency plans](https://cloudsat.io/high-frequency-vps) from $2.78 suit compile-heavy repos.

After deploy the `claude` command is ready on Ubuntu 24.04 LTS, waiting for your Anthropic login.

## What you get with Claude Code

- Edits files and runs commands from plain-language requests
- Git workflows from history to commits
- MCP servers and plugins for outside tools
- Project instructions in `CLAUDE.md`
- Self-updating native install and `claude doctor`

## Claude Code use cases

- A remote workspace that keeps working while you are offline
- An agent beside staging that runs the real test suite
- Agent experiments kept away from your laptop's credentials

## After you deploy Claude Code

1. SSH in as root once the server shows **Running** (password in the **Access** tab, or your deploy key) and create a normal user for coding.
2. Run `claude --version`, and `claude doctor` if anything looks off.
3. Start `claude` in a project and log in: on a headless box, open the printed link on your own computer and paste the code back, or export `ANTHROPIC_API_KEY`.
4. Add a `CLAUDE.md` with build and test commands, and run long sessions in `tmux`.

## Claude Code ports

Open these in your firewall if you use one: `22/tcp SSH`.

## Claude Code FAQ

### Do I need an Anthropic account?

Yes: a paid Claude plan or an Anthropic Console account billed by usage. Claude Code is not part of claude.ai's free tier, and the only thing CloudSat charges for is the server.

### How much RAM should the server have?

Anthropic lists 4 GB or more for the tool. Add what your builds and tests use: 4 GB ($11.58) fits most single-repo work, and 8 GB leaves room for Docker test stacks.

**Disclaimer.** The Claude Code project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like Claude Code

[All apps in Self-hosted](https://cloudsat.io/apps/category/self-hosted-essentials)

- [aider](https://cloudsat.io/apps/deploy-aider): Self-hosted aider is an open-source AI pair programmer for the terminal: it edits files across your git repo with the model you choose and commits every change.
- [OpenCode](https://cloudsat.io/apps/deploy-opencode): Automation OpenCode is an MIT-licensed AI coding agent with a terminal UI, build and plan agents, subagents and many model providers, extended through MCP servers and plugins.
- [Cline CLI](https://cloudsat.io/apps/deploy-cline-cli): Automation Cline CLI runs the open-source Cline agent in a terminal: interactive chat or headless runs for scripts and CI, on a Linux server you can throw away.
- [code-server](https://cloudsat.io/apps/deploy-code-server): Development code-server serves VS Code from a remote machine to any browser. Your editor, terminal and extensions follow you, while builds run on the server's CPU.
- [9Router](https://cloudsat.io/apps/deploy-9router): Self-hosted 9Router is a self-hosted AI request router: coding tools talk to one endpoint and it translates formats, tracks quotas and falls back across providers.
- [AFFiNE](https://cloudsat.io/apps/deploy-affine): Self-hosted AFFiNE is an open-source workspace that merges docs, an edgeless whiteboard and databases, with real-time collaboration on a server you run.
