Self-host code-server
v4.145.2 curl -L https://coder.com/install.sh | sh- Stars
- 79 884
- CPU
- 2 cores
- RAM
- 4GB
- Port
- 3000
- Requires
- PostgreSQL
ghcr.io/coder/coder:latestWhat is code-server?
Coder is an open-source platform designed for self-hosting cloud development environments and AI coding agents. It enables teams to create, manage, and govern secure, reproducible workspaces using Terraform templates. Coder supports a wide range of infrastructure providers, including Docker, Kubernetes, and cloud platforms, and integrates with popular IDEs like VS Code and JetBrains Gateway. It is particularly suited for organizations that need to enforce security policies, manage developer onboarding, and enable AI-powered coding workflows.
Key Features
- Terraform-based Templates: Define and manage development environments as code, ensuring reproducibility and consistency.
- Multi-Provider Support: Deploy workspaces on Docker, Kubernetes, AWS, GCP, Azure, and more.
- IDE Integration: Native support for VS Code, JetBrains IDEs, and other editors.
- AI Coding Agents: Run and govern AI agents within secure, isolated environments.
- Self-Hosted: Full control over infrastructure, data, and access policies.
- Scalability: Suitable for teams of all sizes, from small startups to large enterprises.
- Security & Compliance: Built-in support for RBAC, audit logging, and compliance with standards like GDPR and DORA.
Use Cases
- Developer Onboarding: Accelerate onboarding with pre-configured, ready-to-use workspaces.
- AI Governance: Securely run AI coding agents within governed environments.
- Compliance & Security: Enforce policies and maintain audit trails for regulated industries.
- Cost Optimization: Reduce cloud costs by managing resource allocation and usage.
Coder is widely used by tech innovators, financial services, and government agencies to streamline development workflows while maintaining security and compliance.
code-server alternatives
CodemanSelf-hosted web dashboard running 11 AI coding agents in tmux sessions, streaming live terminals to any browser with zero-lag input, QR login, and autonomous runs.CompareCodeman with code-server
tesseraSelf-hosted workspace for parallel AI coding agents (Claude Code, Codex, OpenCode) with Git worktrees, Kanban board, and mobile access via desktop app or browser.Comparetessera with code-server
agentboxagentbox is a self-hosted browser workspace that runs AI coding agents in Docker on your server, providing chat, terminal, file management, and Git from any device.Compareagentbox with code-server
WebCodexSelf-hosted MCP server/runner giving ChatGPT/Claude AI agents access to local code repos and dev tools on your machine.CompareWebCodex with code-server
OpenCode ManagerAn open-source, self-hosted web command center for OpenCode coding agents: sessions, git, terminals, and cron schedules you drive from phone or desktop.CompareOpenCode Manager with code-server
kodusSelf-hosted AI code review for major Git platforms. Bring your own LLM keys with zero markup. AGPL core with enterprise features.Comparekodus with code-server
CodinIT.devSelf-hosted open-source AI full-stack dev platform for building Node.js apps with code generation and 19+ AI providers.CompareCodinIT.dev with code-server
multicaSelf-hosted platform that makes coding agents work like teammates — assign issues, track progress, reuse skills, and monitor runtimes in one workspace.Comparemultica with code-server
Should you self-host code-server?
code-server scores 83/100 on selfhost.directory (how scoring works) and ranks #3 of 167 in Developer Tools. It has 79 884 GitHub stars, +291 in the last 30 days.
It shipped 33 stable releases in the past year. The latest, v4.145.2, came out on 7 November 2026. New versions land roughly every 7 days.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is openhands (87/100, 93 581 stars). It scores higher overall, so compare the two before you pick. See code-server vs openhands side by side.
Features
- AI Coding Agents
- Audit Logging
- Custom Templates
- Docker support
- GPU Acceleration
- High Availability
- IDE Integration
- Kubernetes support
- Multi-user support
- OAuth/SSO
- Terraform Integration
code-server README
Run VS Code on any machine anywhere and access it in the browser.
FAQ
Can Coder be used for AI development?
Yes, Coder supports AI coding agents and provides governance and security controls for running AI workloads in isolated environments.
What are the system requirements for Coder?
Coder requires a minimum of 2 CPU cores and 4GB of RAM. For production deployments, additional resources may be needed depending on the number of users and workspaces.
Is Coder open-source?
Yes, Coder is fully open-source under the MIT license. It also offers an enterprise edition with additional features and support.
How does Coder work?
Coder uses Terraform templates to define development environments. These templates are used to create workspaces, which are isolated, reproducible environments for developers. Coder supports Docker, Kubernetes, and cloud providers, and integrates with popular IDEs like VS Code and JetBrains.
What is Coder?
Coder is a self-hosted platform for creating and managing cloud-based development environments and AI coding agents. It allows teams to define, provision, and govern secure, reproducible workspaces using Terraform.
More in Developer Tools
codesightUniversal AI context generator. Saves thousands of tokens per conversation in Claude Code, Cursor, Copilot, Codex, and more.
CodeverSelf-hosted bookmarks & snippets manager for developers with Markdown, browser extensions, IDE plugins, and Keycloak auth via GitHub, Google, GitLab, StackOverflow.
CodeVerdictA self-hosted platform for running programming tests with live rankings, penalty scoring, and instant code execution. Gives educators full control over assessments.
CodeX.docsSelf-hosted, open-source docs app on Editor.js. Nested documents, static rendering, SEO URLs, responsive UI — no database required.
Codex LB EnhancedSelf-hosted open-source gateway pooling ChatGPT accounts for Codex clients with transparent failover, session recovery, native quota headers, and a web dashboard.
Codex MemoriesA self-hosted, open-source memory layer that lets OpenAI Codex remember project decisions locally via Git and SQLite, without any hosted vector database.
CodinIT.devSelf-hosted open-source AI full-stack dev platform for building Node.js apps with code generation and 19+ AI providers.
CodraCodra is a self-hosted, open-source AI code review engine on Cloudflare Workers that posts inline comments on GitHub PRs using configurable LLM providers.
CodyncA free, open-source, self-hosted app that runs AI coding agents on your computer and lets you chat with them as persistent bots from any device.
CogSendCogSend is a self-hosted, open-source social media scheduler running on Cloudflare. It lets you write once and post to five major networks without subscription fees.
ColliePWASelf-hosted, open-source PWA that mirrors your Herdr, tmux or zellij agent panes on your phone, so Claude Code, Codex and OpenCode can be answered anywhere.
ComfyUI Agent PanelSelf-hosted ComfyUI sidebar with AI agent powered by your Claude/ChatGPT sub. Edits workflows live, installs nodes, one-shot loads, rewind/rollback — no API keys.


0 comments