Automic VaultAutomic Vault

brew

Install elm-format with Homebrew

Elm source code formatter, inspired by gofmt. Version 0.8.8 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install elm-format

local Homebrew formula metadata

overview

Package summary

Elm source code formatter, inspired by gofmt

Commands and aliases

  • elm-format

history

Project history and usage

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.

Project history

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 history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2017: 0.7.0-exp release appears in the GitHub release history.
  • 2018: 0.8.0 release aligns the formatter with the Elm 0.19 transition.
  • 2023: 0.8.7 release continues maintenance for the Elm 0.19-era formatter.
  • 2025: 0.8.8 release is published.

Related projects

  • elm-format follows the same convention-over-style-debate niche as gofmt, but for Elm source files. It is also related to Elm editor plugins and Prettier's Elm integration, which use it as part of save-time or pipeline formatting.

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 8 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 3 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
elm.jsonelm-package.json

executables

Installed executables

CommandKindExposureNote
elm-formatcliglobal 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.8.8
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/avh4/elm-format

  • infoNo package-manager update timestamp was available.low confidence
  • infoNo cached GitHub release or tag data was available.https://github.com/avh4/elm-formatnone confidence

install metadata

Package metadata

Package keybrew:elm-format
Version0.8.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/elm-format
Homepagehttps://github.com/avh4/elm-format
Repositoryhttps://github.com/avh4/elm-format
Upstream docshttps://github.com/avh4/elm-format#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/avh4/elm-format.git
Dependenciesgmp
Build dependenciescabal-install, ghc, hpack
Uses from macOSlibffi
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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
  • package relationship graph
  • package version freshness
  • package-page enrichment