# Install dmd

Digital Mars D compiler. Version 2.112.0 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dmd
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dmd
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: dmd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install dmd
```

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

- Scoop (92%):

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

  Evidence: 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
```

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

## Package Facts

- **Package key:** brew:dmd
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/dmd>
- **Version:** 2.112.0
- **Source summary:** Digital Mars D compiler
- **Homepage:** <https://dlang.org/>
- **Repository:** <https://github.com/dlang/dmd>
- **Upstream docs:** <https://dlang.org/dmd.html>
- **License:** BSL-1.0
- **Source archive:** <https://github.com/dlang/dmd/archive/refs/tags/v2.112.0.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- dmd (cli)
- dmd (alias)

## Build Dependencies

- ldc

## Install Behavior

- Post-install hook: defined
- Caveats: Ancillary tools (e.g. ddemangle, dustmite, rdmd) are now in the `dtools` formula.
- Bottle: available on sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 2.112.0
- Local data status: ok
- Upstream repository: https://github.com/dlang/dmd
- Upstream latest detected: v2.112.0 (current)
- info: No package-manager update timestamp was available.

## Notes de sécurité

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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.2: normalized package name match | openSUSE Tumbleweed package metadata: dmd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | D Programming Language 2.0 | https://dlang.org/
- zypper - libphobos2-0_112 - 2.112.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libphobos2-0_112 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Standard library for the D language | https://dlang.org/
- zypper - phobos-devel - 2.112.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: phobos-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Development files for the D standard library | https://dlang.org/
- zypper - phobos-devel-static - 2.112.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: phobos-devel-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-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.4576','chocolateyexplorer'
- 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


## Related Links

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/fr/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/fr/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ldc](https://www.automicvault.com/fr/pkg/brew/ldc/) - Build dependency declared by Homebrew.
- [dtools](https://www.automicvault.com/fr/pkg/brew/dtools/) - Shares the same upstream homepage.
- [vala](https://www.automicvault.com/fr/pkg/brew/vala/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [c3c](https://www.automicvault.com/fr/pkg/brew/c3c/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [idris2](https://www.automicvault.com/fr/pkg/brew/idris2/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [smlnj](https://www.automicvault.com/fr/pkg/brew/smlnj/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [lisette](https://www.automicvault.com/fr/pkg/brew/lisette/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [inform6](https://www.automicvault.com/fr/pkg/brew/inform6/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [nesc](https://www.automicvault.com/fr/pkg/brew/nesc/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.

## Sources

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