tokei
MIT/Apache-2.0 fast LOC and code stats by language
Rust / Terminal · Apache-2.0 · 15k
Reviewed 2026-09-11 · last push 2026-09-06 · repo checked 2026-10-19
What's Good
MIT OR Apache-2.0. XAMPPRocky/tokei. Accurate language detection with nested-comment and string-literal awareness, library + CLI, and blazing directory walks. Homepage tokei.rs; source github.com/XAMPPRocky/tokei.
The Catch
Vs cloc/scc and vs GitHub language bars: tokei is the *local CLI/library* for code stats, not a hosted insights product and not a complexity/churn analyzer. Counts are still heuristics — generated code and vendor trees need excludes. Not a dependency auditor.
Verdict
MIT/Apache-2.0 LOC CLI. Free forever; count the tree before the status meeting invents numbers.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/tokei)
HTML
<a href="https://stackgems.com/gems/tokei"><img src="https://stackgems.com/badge/tokei.svg" alt="tokei reviewed on Stack Gems" height="20"></a>
Related
Rust →- ZellijMIT Rust terminal workspace with layouts and plugins
- ripgrepUnlicense/MIT recursive grep that respects .gitignore
- batMIT/Apache-2.0 cat clone with syntax highlighting and Git integration
- fdMIT/Apache-2.0 ignore-aware parallel filename find
- gumMIT scriptable prompts, filters, and spinners for shell UX