# dfmt を Homebrew, Nix, pacman でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install dfmt
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:dfmt
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/dfmt>
- **バージョン:** 0.15.2
- **ソース概要:** Formatter for D source code
- **ホームページ:** <https://github.com/dlang-community/dfmt>
- **リポジトリ:** <https://github.com/dlang-community/dfmt>
- **ライセンス:** BSL-1.0
- **ソースアーカイブ:** <https://github.com/dlang-community/dfmt.git>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- ldc

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.15.2
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/dlang-community/dfmt
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

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

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.

### 採用の歴史

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`.

### 使われ方

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.

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

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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

- Unix: .editorconfig
## ソースデータベース詳細

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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [ldc](https://pkg.so/ja/brew/ldc/) - Build dependency declared by Homebrew.
- [shfmt](https://pkg.so/ja/brew/shfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [buildifier](https://pkg.so/ja/brew/buildifier/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [dprint](https://pkg.so/ja/brew/dprint/) - Shares pkgdb curated category or tags: cli, code-formatter, developer-tools, formatters.
- [astyle](https://pkg.so/ja/brew/astyle/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters, source-code.
- [oxfmt](https://pkg.so/ja/brew/oxfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [air](https://pkg.so/ja/brew/air/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [beautysh](https://pkg.so/ja/brew/beautysh/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [js-beautify](https://pkg.so/ja/brew/js-beautify/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [cbfmt](https://pkg.so/ja/brew/cbfmt/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, formatter.
- [dockerfmt](https://pkg.so/ja/brew/dockerfmt/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, formatter.

## Combined YAML source

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