# 使用 Homebrew, apk, Nix, pacman, apt 安装 dtools

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

## 安装

```sh
sudo av install brew:dtools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dtools
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dtools
```

  证据: Alpine Linux edge package indexes: dtools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#dtools
```

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

- pacman (92%):

```sh
sudo pacman -S dtools
```

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

- Debian apt (92%):

```sh
sudo apt install dustmite
```

  证据: Debian stable package indexes: dustmite from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:dtools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dtools>
- **版本:** 2.112.0
- **来源摘要:** D programming language tools
- **主页:** <https://dlang.org/>
- **仓库:** <https://github.com/dlang/tools>
- **上游文档:** <https://dlang.org/>
- **许可证:** BSL-1.0
- **源码归档:** <https://github.com/dlang/tools/archive/refs/tags/v2.112.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ddemangle (cli)
- dustmite (cli)
- rdmd (cli)
- ddemangle (别名)
- dustmite (别名)
- rdmd (别名)

## 构建依赖

- dub
- ldc

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.112.0
- 本地数据: OK
- 上游仓库: https://github.com/dlang/tools
- 检测到的最新版本: v2.112.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

dtools is the Homebrew packaging name for the D language's ancillary tools repository. It packages command-line utilities around the D compiler ecosystem, most visibly `rdmd`, `dustmite`, and `ddemangle`.

### 项目历史

The dlang/tools repository was created in 2011 and describes itself as hosting tools redistributed with DMD or used internally for D build tasks. The public tools table includes a D symbol demangler, the `rdmd` build/run helper, and DustMite, a test-case minimization tool.

### 采用历史

The tools are adopted as part of the D language toolchain rather than as a standalone end-user application. Homebrew, Debian/Ubuntu, Alpine, Arch, Nix, and other package systems expose some or all of these utilities, with Debian-family packages especially focusing on DustMite.

### 使用方式

`rdmd` is used to compile and run D source files with dependency tracking, `ddemangle` decodes D symbol names, and `dustmite` reduces failing source trees or test cases. The upstream README also documents building all tools with `make all` or individual tools with DUB.

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

dtools is interesting because it is not one app: it is a grab bag of language-maintainer utilities that package managers have to present as a coherent formula. It also preserves older D workflow habits, such as single-file execution with `rdmd` and minimization with DustMite, in a single installable package.

### 时间线

- 2011: Public dlang/tools GitHub repository created.
- 2010s: Repository becomes the home for DMD-redistributed and internal D build tools.
- 2020s: Homebrew formula tracks dlang/tools release tags and installs public tools such as `ddemangle`, `dustmite`, and `rdmd`.

### Related projects

- Closely related projects include DMD, DUB, the D language website, the D wiki's development-tools index, and the original DustMite documentation.

### 来源

- <https://github.com/dlang/tools>
- <https://dlang.org/rdmd.html>
- <https://wiki.dlang.org/Development_tools>
- <https://formulae.brew.sh/api/formula/dtools.json>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dtools
- **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 - dtools: normalized package name match | nixpkgs package indexes: pkgs/by-name/dt/dtools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dtools - 2.112.0-r1: normalized package name match | Alpine Linux edge package indexes: dtools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ancillary tools for the D programming language compiler | https://github.com/dlang/tools
- pacman - dtools - 2.112.0-1: normalized package name match | Arch Linux sync databases: dtools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Ancilliary tools for the D programming language | https://www.dlang.org
- Debian apt - dustmite - 0.0.430-2.1+b1: installed executable or alias match | Debian stable package indexes: dustmite from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tool for minimizing D source code | https://github.com/CyberShadow/DustMite/wiki
- Ubuntu apt - dustmite - 0.0.430-2.1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dustmite from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tool for minimizing D source code | https://github.com/CyberShadow/DustMite/wiki


## 相关链接

- [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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [ldc](https://pkg.so/zh-hans/brew/ldc/) - Build dependency declared by Homebrew.
- [dub](https://pkg.so/zh-hans/brew/dub/) - Build dependency declared by Homebrew.
- [dmd](https://pkg.so/zh-hans/brew/dmd/) - Shares the same upstream homepage.
- [dcd](https://pkg.so/zh-hans/brew/dcd/) - Shares pkgdb curated category or tags: cli, developer-tools, dlang, language-tools.
- [scala-cli](https://pkg.so/zh-hans/brew/scala-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, language-tools.
- [docker-compose-langserver](https://pkg.so/zh-hans/brew/docker-compose-langserver/) - Shares pkgdb curated category or tags: cli, developer-tools, language-tools.
- [ghcitty](https://pkg.so/zh-hans/brew/ghcitty/) - Shares pkgdb curated category or tags: cli, developer-tools, language-tools.
- [dfmt](https://pkg.so/zh-hans/brew/dfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, dlang.
- [google-closure-compiler](https://pkg.so/zh-hans/npm/google-closure-compiler/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, language, language-tools.
- [indefinitely-typed](https://pkg.so/zh-hans/npm/indefinitely-typed/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, language, language-tools.

## Combined YAML source

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