ccusage

Install command:
brew install ccusage

CLI tool for analyzing Claude Code usage from local JSONL files

https://github.com/ccusage/ccusage

License: MIT

Development: Pull requests

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

Formula code: ccusage.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 20.1.2

Depends on when building from source:

rust 1.100.1 Safe, concurrent, practical language

Binaries: ccusage

GitHub Packages downloads:

Last 30 days17,684
Downloads105,086
Analytics install events (30 days)2,405
Downloads / install events (30 days)7.4×

Source: GitHub Packages, fetched 2026-12-02T01:03:10Z. Analytics dates: 2026-11-02 to 2026-12-02. 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
Installs2,4015,70614,200
Installs (--HEAD)4628
Installs on Request2,4005,70314,188
Installs on Request (--HEAD)4628
Build Errors3