erlfmt
« Back to VersTracker
Description:
Automated code formatter for Erlang
Type: Formula  |  Latest Version: 1.7.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: erlang formatter linter developer-tools code-quality
Install: brew install erlfmt
About:
erlfmt is an automated code formatter for Erlang that enforces a consistent coding style across projects. It parses Erlang code into an Abstract Syntax Tree (AST) and reformats it based on a configurable set of rules. This eliminates debates over formatting and improves code readability and maintainability.
Key Features:
  • AST-based formatting for robustness
  • Configurable formatting rules
  • Support for comments and complex expressions
  • Integration with CI pipelines and editors
Use Cases:
  • Enforcing consistent code style across large Erlang codebases
  • Automated formatting during CI/CD builds
  • Pre-commit hooks to maintain clean diffs
Alternatives:
  • erlang-formatter – An older formatter that may use regex-based approaches, whereas erlfmt uses AST for greater accuracy.
License: Apache-2.0
Dependencies: erlang
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit