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. Tokei is very fast and is able to count millions of lines of code in seconds. Check out the 12.0.0 release to see how Tokei's speed compares to others. Tokei is accurate, Tokei correctly handles multi-line comments, and nested comments, and not count comments that are in strings. Providing accurate code statistics. Tokei has a 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 statistics with another set. Tokei is available on Mac, Linux, and Windows. See installation instructions for how to get Tokei on your platform.

Features

  • Tokei is also a library allowing you to easily integrate it with other projects
  • Tokei comes with and without color
  • Set the env variable NO_COLOR to 1, and it'll be black and white
  • Tokei has huge range of languages
  • Tokei can output in multiple formats (CBOR, JSON, YAML)
  • Tokei can output in multiple formats(CBOR, JSON, YAML)

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

Apache License V2.0

Follow Tokei

Tokei Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Tokei!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Terminals

Registered

2022-05-12