tokei
CLICount lines of code across projects, by language.
3 views
Installation
Homebrew
brew install tokeiCargo
cargo install tokeiLinks
License
MIT OR Apache-2.0AI Agent Notes
Count lines of code by language with statistics
When to use
Analyzing codebase size and language composition
Examples
tokeitokei src/ --exclude '*.json'
Proven Recipes
Count lines of code in current directory🟢 99% success
tokei .Count excluding specific paths🟢 97% success
tokei . --exclude 'node_modules,dist'Output as JSON🟢 99% success
tokei . -o json