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. 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 a key, run claude in the terminal and paste the code its link shows, or 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-29: Claude Code signs in by pasted code.
Template Content
code-server
codercom/code-server:4.145.0PASSWORD
Choose the password you will sign in to code-server with. Make it long: it opens a terminal with sudo on this server.

