Running Claude Code on a server

Your agent works 24/7 while the laptop is closed

Pick the AI agents use case (2 vCPU / 4 GB+) and tick Claude Code under Software, or install manually:

curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt install -y nodejs git tmux
npm install -g @anthropic-ai/claude-code
tmux new -s claude && claude

Detach with Ctrl+B D, re-attach with tmux attach -t claude. Run it as a separate user, keep secrets in .env (mode 600).

Updated