sloccount

Install command:
brew install sloccount

Count lines of code in many languages

https://dwheeler.com/sloccount/

License: GPL-2.0-or-later

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

Formula code: sloccount.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
catalina
mojave
high sierra
64-bit linux

Current versions:

stable 2.26

Analytics:

Installs (30 days)
sloccount 39
Installs on Request (30 days)
sloccount 39
Build Errors (30 days)
sloccount 0
Installs (90 days)
sloccount 143
Installs on Request (90 days)
sloccount 143
Installs (365 days)
sloccount 659
sloccount --HEAD 4
Installs on Request (365 days)
sloccount 659
sloccount --HEAD 4
Fork me on GitHub