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 ✅
sonoma ✅
macOS on
Intel
sequoia ✅
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 4.0.2

Revision: 1

Depends on:

perl 5.44.0 Highly capable, feature-rich programming language

Binaries: latexindent

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.

Analytics:

30 days90 days365 days
Installs737904,092
Installs (--HEAD)2310
Installs on Request737904,092
Installs on Request (--HEAD)2310
Build Errors0