# dmd を Homebrew, apk, chocolatey, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

dmd のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:dmd
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install dmd
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dmd
```

  証拠: MacPorts ports tree: lang/dmd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dmd
```

  証拠: Alpine Linux edge package indexes: dmd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#dmd
```

  証拠: nixpkgs package indexes: pkgs/by-name/dm/dmd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dmd
```

  証拠: Arch Linux sync databases: dmd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dmd
```

  証拠: openSUSE Tumbleweed package metadata: dmd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install dmd
```

  証拠: Chocolatey community package catalog: dmd from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.804','zoxide'

- Scoop (92%):

```sh
scoop install main/dmd
```

  証拠: Scoop official bucket manifest trees: bucket/dmd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Dlang.DMD -e
```

  証拠: Windows Package Manager source index: Dlang.DMD from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:dmd
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/dmd>
- **バージョン:** 2.112.0
- **ソース概要:** Digital Mars D compiler
- **ホームページ:** <https://dlang.org/>
- **リポジトリ:** <https://github.com/dlang/dmd>
- **上流ドキュメント:** <https://dlang.org/>
- **ライセンス:** BSL-1.0
- **ソースアーカイブ:** <https://github.com/dlang/dmd/archive/refs/tags/v2.112.0.tar.gz>
- **最終更新:** 2026-07-05T01:19:29Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- dmd (cli)
- dmd (エイリアス)

## ビルド依存関係

- ldc

## インストール挙動

- post-install フック: 未定義
- 注意点: Ancillary tools (e.g. ddemangle, dustmite, rdmd) are now in the `dtools` formula.
- Bottle: 利用可能 対象 sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.112.0
- マネージャ更新日: 2026-07-05
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/dlang/dmd
- 検出された最新: v2.112.0 (最新)
## プロジェクトの歴史と使われ方

DMD is the reference compiler for the D programming language, the practical systems and applications language started by Walter Bright as a better C++.

### プロジェクトの歴史

The D Language Foundation describes D as a language begun by Walter Bright and grown steadily for more than 15 years. The official D blog gives the compiler-specific origin: Walter Bright began putting D together in 1999 using his existing Digital Mars C and C++ compiler tools and backend, concentrating on a new DMD frontend.

### 採用の歴史

DMD 0.00 was released in December 2001, Linux support arrived in DMD 0.63 in May 2003, and D 2.000 appeared in June 2007 according to the official change log. The modern project is maintained around the D Language Foundation, which supports D infrastructure, DConf, scholarships, and development resources.

### 使われ方

Package users install DMD for the command-line compiler, Phobos standard library, druntime, and companion tools such as rdmd, dub, dustmite, dumpobj, and ddemangle. The compiler reads dmd.conf settings, accepts DFLAGS, can compile, link, run, generate docs, emit coverage, and work with C toolchains.

### パッケージ好きにとっての重要性

DMD is package-nerd significant because it is both a compiler package and the historical reference implementation of D. Its packaging tells the story of D's unusual toolchain lineage: Digital Mars roots, POSIX use of system C toolchains, Windows object-format transitions, and eventual open-source redistribution under the Boost license.

### タイムライン

- 1999: Walter Bright began putting D together.
- 2001-12: DMD 0.00 was released.
- 2003-05: DMD 0.63 brought Linux support.
- 2007-06: D 2.000 was released.
- 2026-01: D 2.112.0 appeared in the official change log.

### Related projects

- The DMD repository includes druntime and works alongside Phobos, dub, rdmd, and the broader D compiler ecosystem including LDC and GDC.

### ソース

- <https://dlang.org/foundation/about.html>
- <https://dlang.org/blog/2017/10/25/dmd-windows-and-c/>
- <https://dlang.org/changelog/index.html>
- <https://github.com/dlang/dmd#readme>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: /etc/dmd.conf
- macOS: /usr/local/bin/dmd.conf
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Nix - dmd: normalized package name match | nixpkgs package indexes: pkgs/by-name/dm/dmd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dmd - 2.112.1-r2: normalized package name match | Alpine Linux edge package indexes: dmd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | D Programming Language reference compiler | https://github.com/dlang/dmd
- apk - dmd-doc - 2.112.1-r2: normalized package name match | Alpine Linux edge package indexes: dmd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | D Programming Language reference compiler (documentation) | https://github.com/dlang/dmd
- pacman - dmd - 1:2.112.1-2: normalized package name match | Arch Linux sync databases: dmd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The D programming language reference compiler | https://www.dlang.org
- zypper - dmd - 2.112.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: dmd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | D Programming Language 2.0 | https://dlang.org/
- zypper - libphobos2-0_112 - 2.112.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libphobos2-0_112 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Standard library for the D language | https://dlang.org/
- zypper - phobos-devel - 2.112.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: phobos-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for the D standard library | https://dlang.org/
- zypper - phobos-devel-static - 2.112.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: phobos-devel-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for the D standard library | https://dlang.org/
- MacPorts - dmd: normalized package name match | MacPorts ports tree: lang/dmd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - dmd: normalized package name match | Chocolatey community package catalog: dmd from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.804','zoxide'
- Scoop - main/dmd: normalized package name match | Scoop official bucket manifest trees: bucket/dmd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Dlang.DMD: normalized package name match | Windows Package Manager source index: Dlang.DMD from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ldc](https://pkg.so/ja/brew/ldc/) - Build dependency declared by Homebrew.
- [dtools](https://pkg.so/ja/brew/dtools/) - Shares the same upstream homepage.
- [c3c](https://pkg.so/ja/brew/c3c/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [lisette](https://pkg.so/ja/brew/lisette/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [nesc](https://pkg.so/ja/brew/nesc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [ats2-postiats](https://pkg.so/ja/brew/ats2-postiats/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [orc](https://pkg.so/ja/brew/orc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [cython](https://pkg.so/ja/brew/cython/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [gnucobol](https://pkg.so/ja/brew/gnucobol/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, native-code, programming-language.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
