BAD SKY.NET

Best VPS for Claude Code

Anthropic coding agent for the terminal; run it on a VPS to keep long tasks going while your laptop is off.

Claude Code server requirements

MinimumRecommended
vCPU12
RAM4 GB8 GB
Disk10 GB40 GB
OS:
Ubuntu 20.04+, Debian 10+, or Alpine Linux 3.19+ (x64 or ARM64)
Runtime:
Native installer, no Node.js needed
  • The official minimum is 4 GB RAM; builds and test suites of your project need memory on top of that.
  • Requires a Pro, Max, Team, Enterprise, or Console account.

Requirements from the official documentation.Official docs

Cheapest VPS for Claude Code

Plans with at least 2 vCPU, 8 GB RAM, and 40 GB disk, sorted by monthly price.

ProviderPlanvCPURAMDiskPrice
NetcupVPS 1000 ARM G1168 GB256 GB$7.36/moDetails
ContaboStorage Vps 20 SSD38 GB400 GB$8.45/moDetails
ContaboCloud Vps Core 6 NVME612 GB200 GB$8.45/moDetails
HostupVPS SM48 GB100 GB$8.86/moDetails
NetcupVPS 1000 G1248 GB256 GB$9.82/moDetails
HetznerCX 3348 GB80 GB$10.13/moDetails
NetcupRS 1000 G1248 GB256 GB$12.10/moDetails
HetznerCAX2148 GB80 GB$12.39/moDetails
NetcupVPS 2000 ARM G111016 GB512 GB$12.70/moDetails
ContaboCloud Vps Plus 4 NVME48 GB150 GB$15.21/moDetails
All matching plans →

Details links may be referral links; we may earn a commission at no extra cost to you.

How to install Claude Code on a VPS

  1. Connect to your VPS over SSH

    ssh user@your-server
  2. Run the official installer

    curl -fsSL https://claude.ai/install.sh | bash
  3. Start Claude Code in your project and log in

    claude

Commands are taken from the official documentation; check it for the latest version.

Why run Claude Code on a VPS?

A VPS lets Claude Code keep working on long tasks while your laptop is closed, gives it a clean Linux environment that matches production, and keeps experiments away from your personal machine. Connect over SSH and pick up the session from anywhere.

FAQ

What are the Claude Code system requirements?

The official requirements are 4 GB+ RAM and an x64 or ARM64 processor on Ubuntu 20.04+, Debian 10+, or Alpine Linux 3.19+. An internet connection is required because the model runs on Anthropic servers, so no GPU is needed.

Why choose 8 GB RAM?

Claude Code itself is light, but it runs your project builds, tests, and language servers. 8 GB keeps those comfortable for most web projects.

Do I need an Anthropic account?

Yes. Claude Code requires a Pro, Max, Team, Enterprise, or Console account, or a supported cloud provider such as Amazon Bedrock.