Quick start (recommended)
Thanks to ccusage’s incredibly small bundle size, you can run it directly without installation:We strongly recommend using
@latest suffix with npx (e.g., npx ccusage@latest) to ensure you’re running the most recent version with the latest features and bug fixes.Global installation
If you prefer to install ccusage globally:ccusage directly:
Requirements
Claude Code data
ccusage reads data from your local Claude Code installation. It automatically searches for data in:
~/.config/claude/projects/(new default)~/.claude/projects/(old default)
Verify installation
Verify ccusage is working correctly:Related tools
Install companion tools for other AI coding assistants:Next steps
Quick start
Learn how to run your first usage report