Stack Gems
Menu
← Catalog

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.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/tokei.svg)](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 →