macOS
brew install elm-formatlocal Homebrew formula metadata
brew
Elm source code formatter, inspired by gofmt. Version 0.8.8 via Homebrew; verified from local package data.
install
brew install elm-formatlocal Homebrew formula metadata
overview
Elm source code formatter, inspired by gofmt
history
elm-format is the standard formatter used by many Elm projects to normalize source layout in the style of gofmt. Its official README presents it as a formatter for Elm code based on the Elm style guide, with the practical goal of removing formatting debates from code review.
The project grew around Elm's transition from an experimental FRP language into a more conventional frontend language with project files and a stable command-line toolchain. Its releases track Elm syntax and project-file eras: the README still documents both Elm 0.18's elm-package.json and Elm 0.19's elm.json, and the release history includes Elm 0.19 alpha and 0.8.x releases.
Adoption was driven less by a standalone ecosystem and more by editor and workflow integration. The README documents format-on-save support across Atom, Vim, Emacs, Visual Studio Code, Sublime Text, JetBrains IDEs, and other tooling, showing that elm-format became part of the everyday editor setup for Elm programmers.
The typical usage is direct and project-local: run elm-format on a file or directory, optionally with --yes to overwrite, from a directory containing elm.json or elm-package.json. The tool is also commonly invoked by editor plugins on save and by formatter integrations such as Prettier plugins.
For package maintainers, elm-format matters because it makes source diffs more mechanical and keeps package examples, source files, and contributions visually consistent across the Elm ecosystem. It is a small CLI whose importance comes from convention: once a formatter is expected, packages that use it are easier to review and compare.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
elm.jsonelm-package.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
elm-format | cli | global executable |
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.
https://github.com/avh4/elm-format
install metadata
| Package key | brew:elm-format |
|---|---|
| Version | 0.8.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/elm-format |
| Homepage | https://github.com/avh4/elm-format |
| Repository | https://github.com/avh4/elm-format |
| Upstream docs | https://github.com/avh4/elm-format#readme |
| License | BSD-3-Clause |
| Source archive | https://github.com/avh4/elm-format.git |
| Dependencies | gmp |
| Build dependencies | cabal-install, ghc, hpack |
| Uses from macOS | libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | elm-format |
| 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 |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.