A fast and accurate command-line tool that counts lines of code, comments, and blanks across over 150 programming languages.
Tokei is a command-line tool that generates detailed statistics about codebases, counting lines of code, comments, and blanks across files and programming languages. It solves the problem of quickly understanding the size and composition of software projects, especially in large or multi-language repositories.
Developers, team leads, and open-source maintainers who need to analyze codebase metrics, track project growth, or generate reports for documentation and planning.
Developers choose Tokei for its exceptional speed, accuracy in handling complex comment structures, and extensive language support, making it a reliable and efficient alternative to slower or less precise code counting tools.
Count your code, quickly.
Counts millions of lines of code in seconds, as benchmarked in the 11.0.0 release against other tools.
Correctly processes multi-line and nested comments, and ignores comments within strings for precise statistics.
Recognizes over 150 programming languages and their various file extensions, covering a wide range of projects.
Supports human-readable terminal output and structured formats like JSON, YAML, and CBOR, enabling data reuse in other applications.
Available on macOS, Linux, and Windows via multiple package managers and prebuilt binaries, ensuring easy installation.
Serialization formats require reinstalling with specific feature flags (e.g., --features all), adding extra steps for full functionality.
Only provides counts of lines, comments, and blanks, without insights into code complexity, duplication, or other quality indicators.
Can misidentify files, such as .d files from gcc as D code, necessitating manual exclusion with the --exclude flag.
A cat(1) clone with wings.
A simple, fast and user-friendly alternative to 'find'
A new type of shell
A smarter cd command. Supports all major shells.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.