# 使用 Homebrew, MacPorts, pacman 安装 dcd

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

## 安装

```sh
sudo av install brew:dcd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dcd
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dcd
```

  证据: MacPorts ports tree: net/dcd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- pacman (92%):

```sh
sudo pacman -S dcd
```

  证据: Arch Linux sync databases: dcd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:dcd
- **软件包管理器:** Homebrew
- **版本:** 0.16.2
- **来源摘要:** Auto-complete program for the D programming language
- **主页:** <https://github.com/dlang-community/DCD>
- **仓库:** <https://github.com/dlang-community/dcd>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dcd-client (别名)
- dcd-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

DCD, the D Completion Daemon, is an autocomplete program for the D programming language. Its README positions it as editor infrastructure rather than an IDE: a server caches imported files and computes completion data, while a client is called by editor integrations or the command line.

### 项目历史

The official GitHub repository was created in 2013 under the D language community organization. The README documents a client/server design, Unix-domain socket defaults on Unix-like systems, TCP socket support, and setup paths through Homebrew, source builds, or Dub.

### 采用历史

DCD sits in the era before language-server-protocol tooling fully standardized editor integration. Its adoption came through editor scripts and plugins for D programmers, with the README pointing users to a wiki page for IDE and editor support and the input package facts showing availability in Homebrew, MacPorts, and Arch packaging.

### 使用方式

Package users install DCD to give lightweight editors D-aware completion, call tips, symbol locations, and import completion without installing a full IDE. The server process is started before editing, and editor plugins usually invoke dcd-client on source buffers.

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

DCD is a classic small-language tooling package: two command-line programs, a daemon protocol, editor hooks, and a package-manager install path. It matters to package nerds because it shows how autocomplete tooling was distributed before every language tool became an LSP server.

### 时间线

- 2013: Official GitHub repository created.
- 2010s: README documents Homebrew, Git/Make, and Dub installation paths.
- 2025: Official GitHub API metadata shows repository activity continuing into December 2025.

### Related projects

- The README points IDE users to D editor integrations; in the wider D ecosystem, Dub and D compilers provide the build/runtime context that DCD expects.

### 来源

- <https://github.com/dlang-community/DCD>
- <https://raw.githubusercontent.com/dlang-community/DCD/master/README.md>
- <https://api.github.com/repos/dlang-community/DCD>


## 安全说明

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

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

- pacman - dcd - 1:0.16.2-1: normalized package name match | Arch Linux sync databases: dcd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | D Completion Daemon: auto-complete for the D programming language | https://github.com/dlang-community/DCD
- MacPorts - dcd: normalized package name match | MacPorts ports tree: net/dcd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/dcd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dcd.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
