Deploy code-server (w/ Claude Code + Codex)
VS Code in the browser with Claude Code and Codex, plus Node and Python.
code-server
Just deployed
/home/coder
Deploy and Host code-server (w/ Claude Code + Codex) on Railway
code-server is VS Code on a server, used from any browser. This template adds Claude Code and Codex, as commands and VS Code extensions, and keeps tools, sign-ins and files on a volume.

About Hosting code-server (w/ Claude Code + Codex)
Node.js 24, Python 3.14 and git come ready too. Choose a password on the deploy form, plus any Anthropic or OpenAI API key. Open the URL and sign in; the AI tools are ready two minutes after the first start.
Common Use Cases
- Code with Claude Code or Codex
- Use coding agents from any device
- Preview web apps while you build
Dependencies for code-server (w/ Claude Code + Codex) Hosting
- code-server
- Volume at /home/coder
Deployment Dependencies
Implementation Details

Without API keys, sign in from the terminal: claude, then /login; codex login --device-auth. Back up the volume (/home/coder). Plan on 1 GB of memory or more while agents run.
Why Deploy code-server (w/ Claude Code + Codex) on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying code-server (w/ Claude Code + Codex) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Updated 2026-10-28: first release, code-server 4.143.1, Claude Code 2.1.312, Codex 0.165.0.
Template Content
code-server
codercom/code-server:4.143.1PASSWORD
Choose the password you will sign in to code-server with. Make it long: it opens a terminal with sudo on this server.

