latexindent

Install command:
brew install latexindent

Add indentation to LaTeX files

https://latexindentpl.readthedocs.io

License: GPL-3.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/latexindent.json

Formula code: latexindent.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 4.0.3

Depends on:

perl 5.44.0 Highly capable, feature-rich programming language

Binaries: latexindent

Analytics:

30 days90 days365 days
Installs1316984,366
Installs (--HEAD)0310
Installs on Request1316984,366
Installs on Request (--HEAD)0310
Build Errors0

Known vulnerabilities in the current version:

CVE-2026-8594 (medium) Text::LineFold versions through 2019.001 for Perl duplicate the output based on the number of spe...

Data from Homebrew/advisory-database. Run brew vulns latexindent for a live check.