# Installer dfmt avec Homebrew, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de dfmt pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:dfmt
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install dfmt
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dfmt
```

  Preuve: nixpkgs package indexes: pkgs/by-name/df/dfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dfmt
```

  Preuve: Arch Linux sync databases: dfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:dfmt
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.15.2
- **Résumé source:** Formatter for D source code
- **Page d'accueil:** <https://github.com/dlang-community/dfmt>
- **Dépôt:** <https://github.com/dlang-community/dfmt>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- dfmt (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.15.2
## Historique du projet et usages

dfmt is a formatter for D source code. It can read from stdin or a file, write formatted output to stdout, edit files in place, and use EditorConfig files for formatting settings.

### Historique du projet

The official tag history begins in 2015 with the 0.1.x series. The README describes the tool as beta quality and documents both DUB and source builds, reflecting its role inside the D language tooling ecosystem.

### Historique d'adoption

dfmt follows the formatter pattern familiar from other language communities: a small command-line tool that can be invoked directly, integrated into editors, or run by project scripts while reading shared formatting policy from `.editorconfig`.

### Modes d'utilisation

By default dfmt reads D source from stdin and writes to stdout. When given a file and `--inplace`, it rewrites that file, while command-line options can override settings discovered through applicable `.editorconfig` files.

### Pourquoi les passionnés de paquets s'y intéressent

For package nerds, dfmt is the D ecosystem's conventional formatting binary: packaging it gives editors and build scripts a reproducible formatter without requiring each project to vendor the formatter itself.

### Chronologie

- 2015: v0.1.0 appears in the official tag history.
- 2023: v0.15.0 is tagged after beta releases.
- 2024: v0.15.2 is tagged.

### Related projects

- dfmt is related to DUB, D compiler toolchains such as DMD and LDC, EditorConfig, and libdparse.

### Sources

- <https://github.com/dlang-community/dfmt#readme>
- <https://github.com/dlang-community/dfmt/blob/master/dub.json>
- <https://github.com/dlang-community/dfmt/tags>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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

- Unix: .editorconfig
## Autres enregistrements de gestionnaires de paquets

- Nix - dfmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/df/dfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - dfmt - 0.15.2-1: normalized package name match | Arch Linux sync databases: dfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Dfmt is a formatter for D source code | https://github.com/dlang-community/dfmt


## Combined YAML source

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


## Sources

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