Tokei
Install latest/stable of Tokei
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Details for Tokei
Package name
- tokei
License
- Apache-2.0 OR MIT
Last updated
- Yesterday - latest/stable
- Yesterday - latest/beta
Websites
Contact
Source code
Report a bug
External link warning
You are about to open
Do you wish to proceed?
Report a Snap Store violation
Report Tokei for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
Share this snap
Generate an embeddable card to be shared on external websites.
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
tokei ./my-project
tokei ./my-project --files --sort code
tokei ./my-project --output json
File 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
| Revision | Channel | Version | Build | Commit | Download SBOM |
|---|
The build and commit information is derived from build infrastructure records.
Install Tokei on your Linux distribution
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.