# erlfmt を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:erlfmt
```

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

### macOS

- Homebrew (100%):

```sh
brew install erlfmt
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:erlfmt
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/erlfmt>
- **バージョン:** 1.8.0
- **ソース概要:** Automated code formatter for Erlang
- **ホームページ:** <https://github.com/WhatsApp/erlfmt>
- **リポジトリ:** <https://github.com/WhatsApp/erlfmt>
- **上流ドキュメント:** <https://github.com/WhatsApp/erlfmt#readme>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/WhatsApp/erlfmt/archive/refs/tags/v1.8.0.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

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

## 依存関係

- erlang

## ビルド依存関係

- rebar3

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.8.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/WhatsApp/erlfmt
- 検出された最新: v1.8.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

erlfmt is WhatsApp's opinionated Erlang code formatter, packaged as a CLI and rebar3 workflow for teams that want consistent Erlang formatting.

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

The README describes erlfmt as an automated formatter that lets teams focus on code behavior rather than formatting debates. The project reached version 1.0.0 on June 29, 2021 and states that it is feature complete, with only backwards-compatible changes and bug fixes considered without serious review.

### 採用の歴史

erlfmt's main adoption path is as a rebar3 project plugin, adding a rebar3 fmt task and CI-friendly --check mode. The README also documents standalone escript use and editor integrations.

### 使われ方

Users add erlfmt to project_plugins in rebar.config, run rebar3 fmt to format a project, or run the escript directly against Erlang source globs. Later releases kept pace with OTP language changes, including OTP 27 sigils and triple-quoted strings and OTP 28 comprehension features.

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

For package managers, erlfmt is valuable because it is a deterministic formatter with a deliberate stability promise after 1.0. That makes it suitable for CI checks and repository-wide formatting without a constantly shifting style baseline.

### タイムライン

- 2021-06-29: erlfmt 1.0.0 released.
- 2024-09-03: erlfmt 1.5.0 added OTP 27 feature support.
- 2025-06-13: erlfmt 1.7.0 added OTP 28 feature support.
- 2026-02-23: erlfmt 1.8.0 added more formatter enhancements and fixes.

### Related projects

- erlfmt integrates with rebar3 and requires Erlang/OTP.
- The README compares erlfmt with rebar3_format, steamroller, and erl_tidy.

### ソース

- <https://raw.githubusercontent.com/WhatsApp/erlfmt/main/README.md>
- <https://raw.githubusercontent.com/WhatsApp/erlfmt/main/CHANGELOG.md>
- <https://api.github.com/repos/WhatsApp/erlfmt/releases?per_page=10>
- <https://formulae.brew.sh/formula/erlfmt>


## セキュリティノート

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: PROJECT_ROOT/rebar.config
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** erlfmt
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [erlang](https://www.automicvault.com/ja/pkg/brew/erlang/) - Runtime dependency declared by Homebrew.
- [rebar3](https://www.automicvault.com/ja/pkg/brew/rebar3/) - Build dependency declared by Homebrew.
- [black](https://www.automicvault.com/ja/pkg/brew/black/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter.
- [cljfmt](https://www.automicvault.com/ja/pkg/brew/cljfmt/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter.
- [gci](https://www.automicvault.com/ja/pkg/brew/gci/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter.
- [gersemi](https://www.automicvault.com/ja/pkg/brew/gersemi/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter.
- [gnu-indent](https://www.automicvault.com/ja/pkg/brew/gnu-indent/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter.
- [gofumpt](https://www.automicvault.com/ja/pkg/brew/gofumpt/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter.
- [ktfmt](https://www.automicvault.com/ja/pkg/brew/ktfmt/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter.
- [scalariform](https://www.automicvault.com/ja/pkg/brew/scalariform/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter.
- [snakefmt](https://www.automicvault.com/ja/pkg/brew/snakefmt/) - Local package facts share a topical domain. Shared terms: cli, code, code-style, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/erlfmt.yml](https://github.com/automic-vault/db/blob/main/combined/erlfmt.yml)


## ソース

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