System & Utilities

Tokei

Count your code, quickly.

By XAMPPRocky. Free and open source for Windows, macOS, Linux. Latest version v13.0.0-alpha.0, released 2023-03-27.

Is Tokei safe?

Trust score 56/100: Use caution. Some warning signs. Read the notes, check the reviews, and verify the file before you run it.

Things to watch:

15,084 GitHub stars · 929k downloads · 270 contributors · OpenSSF Scorecard 4.6/10.

Download Tokei

Downloads come straight from github.com/XAMPPRocky/tokei.

About Tokei

Tokei is a program that displays statistics about your code. Tokei will show the number of files, total lines within those files and code, comments, and blanks grouped by language.

• Features • Installation • Package Managers • Manual • Configuration • How to use Tokei • Options • Supported Languages • Changelog • Common Issues • Canonical Source • Copyright and License

• Tokei is very fast, and is able to count millions of lines of code in seconds. Check out the 11.0.0 release to see how Tokei's speed compares to others. • Tokei is accurate, Tokei correctly handles multi line comments, nested comments, and not counting comments that are in strings. Providing an accurate code statistics. • Tokei has huge range of languages, supporting over 150 languages, and their various extensions. • Tokei can output in multiple formats (CBOR, JSON, YAML) allowing Tokei's output to be easily stored, and reused. These can also be reused in tokei combining a previous run's st

You can also build and install from source (requires the latest stable [Rust] compiler.)

Similar apps

Compare: Tokei vs Scc · Tokei vs Cs

Questions

Is Tokei safe to download?

Tokei has an OpenShelf trust score of 56/100 (Use caution). Some warning signs. Read the notes, check the reviews, and verify the file before you run it. Main thing to watch: The latest release is more than 18 months old.

Is Tokei free?

Yes. Tokei is free and open source under a custom open-source license. The source code is public at github.com/XAMPPRocky/tokei.

Does Tokei work on Windows, macOS and Linux?

Tokei is available for Windows, macOS, Linux. Ready-made downloads exist for Windows, macOS, Linux.

How do I install Tokei?

Download the official file from the project's GitHub releases (for example tokei-i686-pc-windows-msvc.exe) and run it.

What are alternatives to Tokei?

Similar open-source apps: Scc (trust 75/100), Cs (trust 61/100), zoxide (trust 70/100), Trippy (trust 57/100).