# 使用 Homebrew, Nix, scoop, winget 安装 coder

查看 coder 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:coder
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install coder
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#coder
```

  证据: nixpkgs package indexes: pkgs/by-name/co/coder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/coder
```

  证据: Scoop official bucket manifest trees: bucket/coder.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Coder.Coder -e
```

  证据: Windows Package Manager source index: Coder.Coder from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:coder
- **软件包管理器:** Homebrew
- **版本:** 2.34.7
- **来源摘要:** Tool for provisioning self-hosted development environments with Terraform
- **主页:** <https://coder.com>
- **仓库:** <https://github.com/coder/coder>
- **最后更新:** 2026-07-28T20:11:21Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- coder (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.34.7
## 项目历史与用法

Coder is an open-source, self-hosted platform and CLI for running cloud development environments and AI coding agents on infrastructure controlled by the user or organization.

### 项目历史

Coder Technologies lists its founding date as August 2017. The modern coder/coder project is the open-source Coder v2 line, with workspaces defined in Terraform and a single coder CLI used for both server and client workflows.

### 采用历史

Coder sits in the remote-development lineage that includes code-server, web IDEs, SSH-based development, JetBrains Gateway, VS Code Remote, and Kubernetes-backed workspaces. Its adoption path has been strongest among platform teams that want centrally managed, self-hosted development environments rather than a purely hosted SaaS.

### 使用方式

Users install the coder binary, start a server with coder server, log in with coder login, and connect to workspaces through IDEs, terminals, SSH, or web interfaces. Administrators define reusable workspace templates with Terraform, then manage users, images, policies, and infrastructure centrally.

### 为什么软件包爱好者会关心

For package-manager users, Coder is significant because a single CLI bootstraps a full remote-development control plane. Homebrew, Nix, Scoop, and winget packaging make the same binary reachable across developer laptops, CI machines, and self-hosted servers.

### 时间线

- 2017: Coder Technologies founding date listed in official site metadata.
- 2022: Public v0.1.0 tag appears in the coder/coder repository lineage.
- 2023: v2.0.0 tag appears in the coder/coder repository lineage.
- 2026: Homebrew formula distributes Coder 2.33.11 while Coder docs show the v2 documentation line.

### Related projects

- Related projects include code-server, coder/registry modules and templates, Terraform, Kubernetes, Docker, Dev Containers, VS Code Remote, JetBrains Gateway, Mutagen, and web IDE tools such as Jupyter.

### 来源

- <https://coder.com/docs.md>
- <https://coder.com/docs/install.md>
- <https://github.com/coder/coder>
- <https://formulae.brew.sh/api/formula/coder.json>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

## 其他软件包管理器记录

- Nix - coder: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/coder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/coder: normalized package name match | Scoop official bucket manifest trees: bucket/coder.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Coder.Coder: normalized package name match | Windows Package Manager source index: Coder.Coder from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/coder.yml](https://github.com/mxcl/pkgdb/blob/main/combined/coder.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
