Claude Code on your own VPS
Claude Code works in a terminal: it reads your code, runs commands and makes changes. On a server it can keep going on a long task after you close your laptop, and you can check in from any computer or your phone over SSH. Because it runs commands, a separate server also keeps it away from your personal files.
Order Box Plus with Claude Code · All AI agent apps
How the one-click app works
- Order Box Plus or bigger and choose Claude Code as the app, or install it later from the App tab.
- We install it on Debian or Ubuntu with Anthropic's official native installer.
- Log in over SSH and run
claude. It asks you to sign in with your Claude account (Pro, Max, Team or Enterprise) or a Console account. - Start long tasks inside
tmux, so they keep running when you disconnect:tmux new -s work, thenclaude; reconnect later withtmux attach -t work.
Which plan
| Plan | RAM | Good for | Price |
|---|---|---|---|
| Box Plus | 2 GB | One project, normal builds and tests | $2.25 a month |
| Box Max | 4 GB | Big code bases, several sessions, heavy builds | $4.00 a month |
Anthropic lists 4 GB of RAM as the requirement; Claude Code itself runs fine on Box Plus, and Box Max matches the recommendation and leaves room for your project's own tools.
Good to know
- Your Claude plan's usage limits apply as on your own computer. The server doesn't add usage.
- Clone your repositories with SSH keys or a deploy key. Keep secrets out of the repository.
- Take a snapshot before a big change; roll back from the client area if needed.
- No Docker on our servers: projects that need Docker for their tests won't run them here.
- natbox is not affiliated with Anthropic. We install the official release; you need your own Claude account.
Claude Code on a VPS questions
Do I need an API key?
No. You can sign in with a Claude subscription, or use a Console account with API billing.
Can I use it from my phone?
Yes, through any SSH app: attach to your tmux session and see where Claude Code is.
Can I also run Codex on the same server?
Yes. Install the Codex app or run its installer yourself; Box Max is the comfortable size for both.
Also see: VS Code in the browser, Python hosting, Node.js hosting.