Deploy Claude Coder Server
Claude Code in Browser with YOLO mode
Claude Coder
Just deployed
/home/clauder
Deploy and Host Claude Code Server on Railway
Claude Code Server is a browser-based VS Code IDE with Claude Code CLI pre-installed. It provides instant cloud development environment with AI-powered coding assistance, persistent extensions, and secure non-root execution. Deploy in 60 seconds and start coding with Claude right in your browser.
About Hosting Claude Code Server
Hosting Claude Code Server on Railway gives you a full VS Code development environment accessible from any browser. The template handles all the complexity: it installs code-server (the browser VS Code), pre-installs Claude Code CLI, sets up proper user permissions with the clauder user, and configures persistent storage for your extensions and authentication. The container starts as root to fix volume permissions, then switches to a non-root user for security. Just set your password, attach a volume, and you're ready to code.
Common Use Cases
- Remote Development – Access your full development environment from any device with a browser
- AI-Assisted Coding – Use Claude Code with YOLO mode (
claude-auto) for uninterrupted AI coding sessions - Team Environments – Spin up identical development environments for team members instantly
- Disposable Workspaces – Create temporary coding environments that persist across sessions
Dependencies for Claude Code Server Hosting
- code-server – Browser-based VS Code (v4.108.0)
- Node.js 20 LTS – JavaScript runtime for development
- Claude Code CLI – AI coding assistant by Anthropic
Deployment Dependencies
Configuration
Required Variables
| Variable | Description |
|---|---|
PASSWORD | Login password for code-server |
Optional Variables
| Variable | Default | Description |
|---|---|---|
CLAUDER_HOME | /home/clauder | Volume mount path |
CLAUDER_UID | 1000 | User ID |
CLAUDER_GID | 1000 | Group ID |
RUN_AS_USER | clauder | Set to root if you need root access |
APP_NAME | Claude Code Server | Login page branding |
WELCOME_TEXT | Welcome to Claude Code Server | Login page welcome message |
Volume Configuration
⚠️ CRITICAL: Without a volume, ALL data is lost on every redeploy!
| Setting | Value |
|---|---|
| Mount Path | /home/clauder |
| Size | 5GB+ recommended |
Set CLAUDER_HOME to match your volume mount path.
Region Recommendation
Select US West region for optimal Claude API performance.
Why Deploy Claude Code Server 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 Claude Code Server 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.
Template Content
Claude Coder
sphinxcode/claude-code-serverPASSWORD
Login password