Automic VaultAutomic Vault

brew

Install dfmt with Homebrew, Nix, pacman

Formatter for D source code. Version 0.15.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dfmt

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#dfmt

nixpkgs package indexes · pkgs/by-name/df/dfmt/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S dfmt

Arch Linux sync databases · dfmt · source: geo.mirror.pkgbuild.com

overview

Package summary

Formatter for D source code

Commands and aliases

  • dfmt

history

Project history and usage

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.

Project history

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.

Adoption history

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

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
.editorconfig

executables

Installed executables

CommandKindExposureNote
dfmtcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.15.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/dlang-community/dfmt

install metadata

Package metadata

Package keybrew:dfmt
Version0.15.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dfmt
Homepagehttps://github.com/dlang-community/dfmt
Repositoryhttps://github.com/dlang-community/dfmt
Upstream docshttps://github.com/dlang-community/dfmt#readme
LicenseBSL-1.0
Source archivehttps://github.com/dlang-community/dfmt.git
Build dependenciesldc
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedfmt
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

dfmt

nix profile install nixpkgs#dfmt
  • normalized package name match
  • Matched by: Dfmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/df/dfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

dfmt 0.15.2-1

Dfmt is a formatter for D source code

https://github.com/dlang-community/dfmt

sudo pacman -S dfmt
  • License: BSL-1.0
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Dfmt
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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