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
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

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
Installs4531,2214,409
Installs (--HEAD)008
Installs on Request4531,2214,409
Installs on Request (--HEAD)008
Build Errors0