sqlfmt

Install command:
brew install sqlfmt

SQL formatter with width-aware output

https://sqlfum.pt/

License: Apache-2.0

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

Formula code: sqlfmt.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 0.5.0
head ⚡️ HEAD

Depends on when building from source:

go 1.23.4 Open source programming language to build simple/reliable/efficient software

Analytics:

Installs (30 days)
sqlfmt 27
Installs on Request (30 days)
sqlfmt 27
Build Errors (30 days)
sqlfmt 0
Installs (90 days)
sqlfmt 58
Installs on Request (90 days)
sqlfmt 58
Installs (365 days)
sqlfmt 339
Installs on Request (365 days)
sqlfmt 339
Fork me on GitHub