Skip to content

Coder

Self-hosted cloud workspaces defined in Terraform, for teams replacing Codespaces

Copyleft (OSI) · AGPL-3.0
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

94

Health

Thriving

Overview

Stars

17,464

Last commit

today

Nov 2026

Repository age

4 years

since Dec 2021

Latest version

v2.38.10

Nov 2026

Contributors

–

30 active in 90 days

Releases

25

last 12 months

Language

Go

Coder is a self-hosted platform for cloud development environments and AI coding agents. You describe workspaces as Terraform templates. A workspace can be an EC2 VM, a Kubernetes pod or a Docker container. Developers connect over a Wireguard tunnel, and idle workspaces shut down on their own to save cost.

The server is written in Go and ships as a single binary with a Linux and macOS install script and a Homebrew formula. For production you add PostgreSQL 13 or later and an external access URL. Editors connect through a VS Code extension, a JetBrains Toolbox plugin or dev containers using devcontainer.json.

Coder also runs AI coding agents on your infrastructure. It works with models from Anthropic, OpenAI, Google, Bedrock or self-hosted ones, keeps LLM credentials out of workspaces, and offers cost tracking and audit logging. It is a direct replacement for Codespaces. The license is AGPL-3.0, and paid Premium features exist for large teams.

Who it's for

Platform teams standing up developer environments

Terraform templates let you define workspaces on the infrastructure you already run.

Skip if: you want a hosted service with no infrastructure to operate.

Security-minded organizations governing AI coding agents

Agents run on your infrastructure with audit logging and no LLM keys in workspaces.

Skip if: you only need a lightweight local container setup for a few developers.

Teams onboarding many developers

Prebuilt templates cut setup time and idle workspaces shut down automatically.

Skip if: you need prebuilds working without any configuration.

The problem it solves

Local machines drift, onboarding takes days, and hosted workspace products run on someone else's cloud. Coder lets you run standard, disposable workspaces on your own infrastructure.

Strengths

  • Workspaces defined in Terraform on VMs, Kubernetes or Docker
  • Idle workspaces shut down automatically to cut cost
  • Works with VS Code, JetBrains and dev containers
  • Agents can use any model, with audit logging and cost tracking
  • 25 releases in the last year and 27 recent contributors

Trade-offs

  • AGPL-3.0 license carries network copyleft obligations
  • Some features, including dedicated support, are Premium only
  • Browser IDE depends on how you set up templates
  • Prebuilds need configuration

Self-host Coder

Self-hostable
Yes
Docker Compose
The repository ships a Compose file
Kubernetes
Helm chart available

Quick start

curl -fsSL https://coder.com/install.sh | sh

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Can I self-host Coder?

Yes. It is a self-hosted platform. Production use needs PostgreSQL 13 or later and an external access URL.

How is it licensed?

The core is AGPL-3.0. A paid Premium tier adds features for large teams and dedicated support.

Which platforms does it run on?

The install script supports Linux and macOS, and Windows users get a binary or installer from GitHub Releases.

Does it replace Codespaces?

Yes, as a direct replacement you host yourself, with workspaces on your own infrastructure.

Similar tools in Cloud development environments

Eclipse Che

Cloud development environments

Kubernetes-native platform for self-hosted, devfile-based cloud workspaces for enterprise

7.2k 1.2k 3 days ago Thriving EPL-2.0

cloudmacs

Cloud development environments

Docker setup that serves your own Emacs, config included, in a web browser

591 38 14 months ago Dormant GPL-3.0

Eleven

Cloud development environments

CLI that creates cloud dev sandboxes in your own AWS or Hetzner account

283 5 4 years ago Dormant MIT

Atheos

Cloud development environments

Lightweight self-hosted web IDE and code editor for a plain PHP server

680 90 4 months ago Dormant MIT

roamgate

Cloud development environments

Browser and PWA client for Herdr to control terminals and agent sessions remotely

329 46 6 days ago Thriving MIT

exe

Cloud development environments

192 7 11 days ago Active Unknown