15.0.041.6 MB
MIT OR Apache-2.0
strict
core26
Count lines of code, comments and blank lines by language
Tokei counts files, lines of code, comments and blank lines in a project,
grouped by language. It respects .gitignore and .tokeignore files and can
print JSON, YAML or CBOR for other tools.
Examples
File access
Tokei can count projects in your home directory. To also count projects on
USB drives and other removable media (/media, /mnt), run:
grouped by language. It respects .gitignore and .tokeignore files and can
print JSON, YAML or CBOR for other tools.
Examples
tokei ./my-project
tokei ./my-project --files --sort code
tokei ./my-project --output jsonFile access
Tokei can count projects in your home directory. To also count projects on
USB drives and other removable media (/media, /mnt), run:
sudo snap connect tokei:removable-media
Update History
git-c14f744 (3) → 15.0.0 (4)10 Nov 2026, 04:00 UTC
git-c14f744 (3)10 Nov 2026, 01:45 UTC
10 Nov 2026, 01:04 UTC
10 Nov 2026, 03:18 UTC
10 Nov 2026, 01:45 UTC