# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/coder>
- **版本:** 2.34.5
- **来源摘要:** Tool for provisioning self-hosted development environments with Terraform
- **主页:** <https://coder.com>
- **仓库:** <https://github.com/coder/coder>
- **上游文档:** <https://coder.com/docs>
- **许可证:** AGPL-3.0-only
- **源码归档:** <https://github.com/coder/coder/archive/refs/tags/v2.34.5.tar.gz>
- **最后更新:** 2026-07-07T21:31:47Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- coder (cli)
- coder (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.34.5
- 管理器更新时间: 2026-07-07
- 本地数据: OK
- 上游仓库: https://github.com/coder/coder
- 检测到的最新版本: v2.34.5 (当前)
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** coder
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [code-server](https://www.automicvault.com/zh-hans/pkg/brew/code-server/) - Shares the same upstream homepage.
- [devcontainer](https://www.automicvault.com/zh-hans/pkg/brew/devcontainer/) - Shares av.db curated category or tags: cli, developer-tools, development-environments.
- [envd](https://www.automicvault.com/zh-hans/pkg/brew/envd/) - Shares av.db curated category or tags: cli, developer-tools, development-environments.
- [gitea](https://www.automicvault.com/zh-hans/pkg/brew/gitea/) - Shares av.db curated category or tags: cli, developer-tools, devops, self-hosted.
- [nodeenv](https://www.automicvault.com/zh-hans/pkg/brew/nodeenv/) - Shares av.db curated category or tags: cli, developer-tools, development-environments.
- [okteto](https://www.automicvault.com/zh-hans/pkg/brew/okteto/) - Shares av.db curated category or tags: cli, developer-tools, development-environments, devops.
- [terragrunt](https://www.automicvault.com/zh-hans/pkg/brew/terragrunt/) - Shares av.db curated category or tags: cli, developer-tools, devops, terraform.
- [act](https://www.automicvault.com/zh-hans/pkg/brew/act/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [anyenv](https://www.automicvault.com/zh-hans/pkg/brew/anyenv/) - Shares av.db curated category or tags: cli, developer-tools, development-environments.

## Combined YAML source

View the package source record on GitHub. [combined/coder.yml](https://github.com/automic-vault/db/blob/main/combined/coder.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
