Install latest/stable of Tokei

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install tokei

Don't have snapd? Get set up for snaps.

Channel Version Published

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


Report a Snap Store violation

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 Published 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.