tokei

Install command:
brew install tokei

Program that allows you to count code, quickly

https://github.com/XAMPPRocky/tokei

License: Apache-2.0 OR MIT

Development: Pull requests

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

Formula code: tokei.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 15.0.0
head ⚡️ HEAD

Depends on when building from source:

rust 1.99.1 Safe, concurrent, practical language

Binaries: tokei

GitHub Packages downloads:

Last 30 days11,155
Downloads298,337
Analytics install events (30 days)1,986
Downloads / install events (30 days)5.6×

Source: GitHub Packages, fetched 2026-11-11T00:53:10Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs1,9844,02618,052
Installs (--HEAD)2327
Installs on Request1,9844,02618,051
Installs on Request (--HEAD)2327
Build Errors5