2025-01-03 18:12:59 +05:00
<!-- markdownlint-disable MD041 -->
2023-01-29 19:45:00 -06:00
<div align="center">
2023-01-30 16:53:54 -06:00
<a href="https://coder.com#gh -light-mode-only">
2025-01-03 18:12:59 +05:00
<img src="./docs/images/logo-black.png" alt="Coder Logo Light" style="width: 128px">
2023-01-30 16:53:54 -06:00
</a>
<a href="https://coder.com#gh -dark-mode-only">
2025-01-03 18:12:59 +05:00
<img src="./docs/images/logo-white.png" alt="Coder Logo Dark" style="width: 128px">
2023-01-30 16:53:54 -06:00
</a>
2022-01-03 18:54:27 -08:00
2023-01-29 19:45:00 -06:00
<h1>
2026-05-04 07:30:41 -05:00
Self-Hosted Cloud Development Environments and AI Agents
2023-01-29 19:45:00 -06:00
</h1>
2023-01-30 16:53:54 -06:00
<a href="https://coder.com#gh -light-mode-only">
2025-01-03 18:12:59 +05:00
<img src="./docs/images/banner-black.png" alt="Coder Banner Light" style="width: 650px">
2023-01-30 16:53:54 -06:00
</a>
<a href="https://coder.com#gh -dark-mode-only">
2025-01-03 18:12:59 +05:00
<img src="./docs/images/banner-white.png" alt="Coder Banner Dark" style="width: 650px">
2023-01-30 16:53:54 -06:00
</a>
2023-01-29 19:45:00 -06:00
<br>
<br>
2024-11-04 09:55:40 -08:00
[Quickstart ](#quickstart ) | [Docs ](https://coder.com/docs ) | [Why Coder ](https://coder.com/why ) | [Premium ](https://coder.com/pricing#compare-plans )
2023-01-29 19:45:00 -06:00
[](https://discord.gg/coder)
2023-02-01 13:14:49 -06:00
[](https://github.com/coder/coder/releases/latest)
2023-01-29 19:45:00 -06:00
[](https://pkg.go.dev/github.com/coder/coder)
2024-06-25 20:29:08 +03:00
[](https://goreportcard.com/report/github.com/coder/coder/v2)
2024-10-05 11:12:15 -07:00
[](https://www.bestpractices.dev/projects/9511)
2024-11-04 09:55:40 -08:00
[](https://scorecard.dev/viewer/?uri=github.com%2Fcoder%2Fcoder)
2023-01-29 19:45:00 -06:00
[](./LICENSE)
2022-01-03 18:52:07 +00:00
2023-01-29 19:45:00 -06:00
</div>
2026-05-04 07:30:41 -05:00
[Coder ](https://coder.com ) is a self-hosted platform for cloud development environments and AI coding agents. Workspaces are defined with Terraform, connected through a secure Wireguard® tunnel, and automatically shut down when not used. Coder Agents runs a native AI coding agent whose loop executes in the control plane on your infrastructure, with no API keys in workspaces.
2023-01-29 19:45:00 -06:00
2024-01-15 04:31:35 -06:00
- Define cloud development environments in Terraform
2023-01-29 19:45:00 -06:00
- EC2 VMs, Kubernetes Pods, Docker Containers, etc.
- Automatically shutdown idle resources to save on costs
- Onboard developers in seconds instead of days
2026-05-04 07:30:41 -05:00
- Delegate coding work to AI agents on your infrastructure
- Bring any model (Anthropic, OpenAI, Google, Bedrock, self-hosted)
- No LLM credentials in workspaces, user identity on every action
- Centralized model governance, cost tracking, and audit logging
2022-11-16 20:15:33 +10:00
2022-05-24 19:40:57 -05:00
<p align="center">
2026-05-04 07:30:41 -05:00
<img src="./docs/images/hero-image.png" alt="Coder platform showing templates and a running workspace">
2022-05-24 19:40:57 -05:00
</p>
2022-05-05 20:09:27 -05:00
2023-01-29 19:45:00 -06:00
## Quickstart
2022-05-24 19:40:57 -05:00
2024-01-15 04:31:35 -06:00
The most convenient way to try Coder is to install it on your local machine and experiment with provisioning cloud development environments using Docker (works on Linux, macOS, and Windows).
2022-05-24 19:40:57 -05:00
2025-01-03 18:12:59 +05:00
```shell
2023-01-29 19:45:00 -06:00
# First, install Coder
curl -L https://coder.com/install.sh | sh
# Start the Coder server (caches data in ~/.cache/coder)
coder server
2024-03-18 14:40:47 +01:00
# Navigate to http://localhost:3000 to create your initial user,
2024-06-25 20:29:08 +03:00
# create a Docker template and provision a workspace
2023-01-29 19:45:00 -06:00
```
## Install
2022-03-28 14:21:00 -06:00
2026-05-04 07:30:41 -05:00
The easiest way to install Coder is to use the
2022-10-26 00:19:54 +10:00
[install script ](https://github.com/coder/coder/blob/main/install.sh ) for Linux
and macOS. For Windows, use the latest `..._installer.exe` file from GitHub
Releases.
2022-03-28 14:21:00 -06:00
2025-01-03 18:12:59 +05:00
```shell
2022-06-19 15:49:42 -05:00
curl -L https://coder.com/install.sh | sh
2022-06-01 14:15:09 -05:00
```
2022-05-27 11:10:54 -07:00
2024-03-18 14:40:47 +01:00
You can run the install script with `--dry-run` to see the commands that will be used to install without executing them. Run the install script with `--help` for additional flags.
2022-06-19 15:49:42 -05:00
2024-06-25 20:29:08 +03:00
> See [install](https://coder.com/docs/install) for additional methods.
2022-06-19 15:49:42 -05:00
2024-03-18 14:40:47 +01:00
Once installed, you can start a production deployment with a single command:
2022-03-28 14:21:00 -06:00
2023-08-23 12:27:57 +03:00
```shell
2022-06-15 16:02:18 -05:00
# Automatically sets up an external access URL on *.try.coder.app
2022-10-07 08:05:56 -05:00
coder server
2022-06-15 16:02:18 -05:00
2022-10-17 19:24:49 -05:00
# Requires a PostgreSQL instance (version 13 or higher) and external access URL
2022-06-15 16:02:18 -05:00
coder server --postgres-url <url> --access-url <url>
2022-06-01 14:15:09 -05:00
```
2022-05-27 11:10:54 -07:00
2026-05-04 07:30:41 -05:00
Use `coder --help` to get a list of flags and environment variables. See the [install guides ](https://coder.com/docs/install ) for a complete tutorial.
2022-04-01 14:48:45 -04:00
2022-04-26 12:10:50 -05:00
## Documentation
2026-05-04 07:30:41 -05:00
Browse the [documentation ](https://coder.com/docs ) or visit a specific section below:
2022-05-30 14:19:48 -05:00
2024-06-25 20:29:08 +03:00
- [**Workspaces** ](https://coder.com/docs/workspaces ): Workspaces contain the IDEs, dependencies, and configuration information needed for software development
2026-05-04 07:30:41 -05:00
- [**Templates** ](https://coder.com/docs/templates ): Templates are written in Terraform and describe the infrastructure for workspaces
- [**Coder Agents** ](https://coder.com/docs/ai-coder/agents ): Delegate coding work to AI agents running on your self-hosted infrastructure
2024-06-25 20:29:08 +03:00
- [**Administration** ](https://coder.com/docs/admin ): Learn how to operate Coder
2026-05-04 07:30:41 -05:00
- [**Premium** ](https://coder.com/pricing#compare-plans ): Learn about paid features built for large teams
- [**IDEs** ](https://coder.com/docs/ides ): Connect your existing editor to a workspace
2022-12-05 09:20:01 +03:00
2024-03-18 14:40:47 +01:00
## Support
2023-01-25 14:49:15 -06:00
2023-01-29 19:45:00 -06:00
Feel free to [open an issue ](https://github.com/coder/coder/issues/new ) if you have questions, run into bugs, or have a feature request.
2023-01-25 14:49:15 -06:00
2024-06-25 20:29:08 +03:00
[Join our Discord ](https://discord.gg/coder ) to provide feedback on in-progress features and chat with the community using Coder!
2023-01-25 14:49:15 -06:00
2024-03-18 14:40:47 +01:00
## Integrations
2022-05-27 11:34:03 -05:00
2026-05-04 07:30:41 -05:00
New integrations are always in progress. Open an issue to request one. Contributions are welcome in any official or community repository.
2022-05-27 11:34:03 -05:00
2023-01-29 19:45:00 -06:00
### Official
2022-05-27 11:34:03 -05:00
2026-05-04 07:30:41 -05:00
- [**Coder Registry** ](https://registry.coder.com ): Templates, modules, and integrations for common development environments
2023-01-29 19:45:00 -06:00
- [**VS Code Extension** ](https://marketplace.visualstudio.com/items?itemName=coder.coder-remote ): Open any Coder workspace in VS Code with a single click
2025-05-29 17:56:44 -07:00
- [**JetBrains Toolbox Plugin** ](https://plugins.jetbrains.com/plugin/26968-coder ): Open any Coder workspace from JetBrains Toolbox with a single click
- [**JetBrains Gateway Plugin** ](https://plugins.jetbrains.com/plugin/19620-coder ): Open any Coder workspace in JetBrains Gateway with a single click
2026-05-04 07:30:41 -05:00
- [**Dev Containers** ](https://github.com/coder/envbuilder ): Build development environments using `devcontainer.json` on Docker, Kubernetes, and OpenShift
2024-03-18 14:40:47 +01:00
- [**Kubernetes Log Stream** ](https://github.com/coder/coder-logstream-kube ): Stream Kubernetes Pod events to the Coder startup logs
2023-01-29 19:45:00 -06:00
- [**Self-Hosted VS Code Extension Marketplace** ](https://github.com/coder/code-marketplace ): A private extension marketplace that works in restricted or airgapped networks integrating with [code-server ](https://github.com/coder/code-server ).
2026-05-04 07:30:41 -05:00
- [**GitHub Actions** ](https://github.com/marketplace/actions/setup-coder ): An action to set up the Coder CLI in GitHub workflows
2022-05-27 11:34:03 -05:00
2023-01-29 19:45:00 -06:00
### Community
2026-05-04 07:30:41 -05:00
- [**Community Templates** ](https://registry.coder.com/templates ): Community-contributed workspace templates in the Coder Registry
- [**Community Modules** ](https://registry.coder.com/modules ): Community-contributed modules to extend Coder templates
2023-01-29 19:45:00 -06:00
- [**Provision Coder with Terraform** ](https://github.com/ElliotG/coder-oss-tf ): Provision Coder on Google GKE, Azure AKS, AWS EKS, DigitalOcean DOKS, IBMCloud K8s, OVHCloud K8s, and Scaleway K8s Kapsule with Terraform
2024-03-18 14:40:47 +01:00
- [**Coder Template GitHub Action** ](https://github.com/marketplace/actions/update-coder-template ): A GitHub Action that updates Coder templates
2026-05-04 07:30:41 -05:00
- [**Discord** ](https://discord.gg/coder ): Chat with the community and provide feedback on in-progress features
2024-04-24 15:15:14 -04:00
## Contributing
2026-05-04 07:30:41 -05:00
New contributors are always welcome. If you are new to the Coder codebase, see
[the contribution guide ](https://coder.com/docs/CONTRIBUTING ) to get started.
2024-05-22 12:01:29 -05:00
## Hiring
2026-05-04 07:30:41 -05:00
Apply on the [careers page ](https://jobs.ashbyhq.com/coder?utm_source=github&utm_medium=readme&utm_campaign=unknown ) if you are interested in joining the team.