Guide and Overview
What it does in plain English
Tokei is a lightweight tool that scans your folders to provide a detailed breakdown of your work. It automatically counts how many files you have, the total number of lines, and separates your actual work from comments and blank spaces. It supports over 150 different programming languages and delivers results in seconds.
Who it’s for
- Software developers who want to track the size and progress of their projects.
- Students or researchers who need to report on the volume of their written code or documentation.
Key features
- Blazing Fast: Designed to analyze millions of lines of code in just a few seconds.
- Highly Accurate: Correctly identifies complex code structures, including nested comments and text within strings.
- Broad Support: Works with over 150 different file types and languages out of the box.
- Flexible Output: Displays results in a clean table format or exports data to standard formats like JSON or YAML for use in other programs.
- Smart Filtering: Automatically respects your existing ignore files to ensure it only counts the files you actually care about.
How to install (Download)
Tokei is available through most standard package managers. You can find the latest prebuilt binaries and installation instructions for Windows, macOS, and Linux on the Official Releases Page.
Pros and Cons
- Pros: Completely free and open-source, extremely fast performance, and requires no complex setup.
- Cons: Runs primarily as a command-line tool, which may require a brief learning curve for those unfamiliar with terminal interfaces.
Sponsored Partner Tools (#ad)
Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.
- ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
- AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
- InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)
Official Source & Credits: Official Source / Credits