# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dcd>
- **版本:** 0.16.2
- **来源摘要:** Auto-complete program for the D programming language
- **主页:** <https://github.com/dlang-community/DCD>
- **仓库:** <https://github.com/dlang-community/DCD>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/dlang-community/DCD.git>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 构建依赖

- ldc

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.16.2
- 本地数据: OK
- 上游仓库: https://github.com/dlang-community/DCD
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dcd
- **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

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

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [ldc](https://pkg.so/zh-hans/brew/ldc/) - Build dependency declared by Homebrew.
- [docker-compose-langserver](https://pkg.so/zh-hans/brew/docker-compose-langserver/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, language-tools.
- [dtools](https://pkg.so/zh-hans/brew/dtools/) - Shares pkgdb curated category or tags: cli, developer-tools, dlang, language-tools.
- [lua-language-server](https://pkg.so/zh-hans/brew/lua-language-server/) - Shares pkgdb curated category or tags: cli, developer-tool, developer-tools, language-server.
- [scala-cli](https://pkg.so/zh-hans/brew/scala-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, language-tools.
- [solargraph](https://pkg.so/zh-hans/brew/solargraph/) - Shares pkgdb curated category or tags: autocomplete, cli, developer-tools, language-server.
- [neocmakelsp](https://pkg.so/zh-hans/brew/neocmakelsp/) - Shares pkgdb curated category or tags: autocomplete, cli, developer-tools, language-server.
- [ghcitty](https://pkg.so/zh-hans/brew/ghcitty/) - Shares pkgdb curated category or tags: cli, developer-tools, language-tools.
- [tree-sitter-cli](https://pkg.so/zh-hans/brew/tree-sitter-cli/) - Shares pkgdb curated category or tags: cli, developer-tool, developer-tools.
- [ccls](https://pkg.so/zh-hans/brew/ccls/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, completion, developer, developer-tools, language.
- [ols](https://pkg.so/zh-hans/brew/ols/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, language, language-server.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
