# Install tokei with Cargo

Count your code, quickly. Version 14.0.0 via Cargo; verified 2025-12-30. Also installable with debian: sudo apt install tokei.

## Install

```sh
sudo av install cargo:tokei
```

Additional install commands:

### Portable and language managers

- Cargo (100%):

```sh
cargo install tokei
```

  Evidence: local crates.io package metadata

## Package facts

- **Package key:** cargo:tokei
- **Package manager:** Cargo
- **Package manager page:** <https://crates.io/crates/tokei>
- **Version:** 14.0.0
- **Source summary:** Count your code, quickly.
- **Homepage:** <https://tokei.rs>
- **Repository:** <https://github.com/XAMPPRocky/tokei.git>
- **License:** MIT OR Apache-2.0
- **Source archive:** <https://static.crates.io/crates/tokei/tokei-14.0.0.crate>
- **Published:** 2025-12-30 11:20:24.946697+00
- **Last updated:** 2025-12-30 11:20:24.946697+00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- tokei (binary): Declared by crates.io version metadata.

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 14.0.0

## Security Notes

No matching local secret-handling manifest was found for tokei. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** crates.io database dump
- **Crate ID:** 3,315
- **Crate Size:** 62,763
- **Edition:** 2021
- **Executable Intent:** Intent: public_cli, Signals: manifest declares a binary target, archive contains src/main.rs, binary name matches crate name
- **Has Lib:** yes
- **Num Versions:** 82
- **Recent Download Window Days:** 90
- **Rust Version:** 1.71
- **Version ID:** 1,910,713

## Other Package-Manager Records

- Debian apt - tokei - 12.1.2-6+b1: normalized package name match | Debian stable package indexes: tokei from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | display statistics about your code | https://tokei.rs
- Nix - tokei: normalized package name match | nixpkgs package indexes: pkgs/by-name/to/tokei/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - tokei - 14.0.0-r0: normalized package name match | Alpine Linux edge package indexes: tokei from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A blazingly fast CLOC (Count Lines Of Code) program | https://github.com/XAMPPRocky/tokei
- dnf - tokei - 14.0.0-6.fc45: normalized package name match | Fedora Rawhide package metadata: tokei from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Count your code, quickly | https://crates.io/crates/tokei
- pacman - tokei - 14.0.0-1: normalized package name match | Arch Linux sync databases: tokei from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A blazingly fast CLOC (Count Lines Of Code) program | https://github.com/XAMPPRocky/tokei
- zypper - tokei - 14.0.0+git0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: tokei from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Code statistics commandline tool | https://github.com/XAMPPRocky/tokei
- MacPorts - tokei: normalized package name match | MacPorts ports tree: devel/tokei/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/tokei: normalized package name match | Scoop official bucket manifest trees: bucket/tokei.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - XAMPPRocky.Tokei: normalized package name match | Windows Package Manager source index: XAMPPRocky.Tokei from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [tokei](https://pkg.so/pkg/brew/tokei/) - Same normalized package name exists in another local package ecosystem.

## Sources

- crates.io package index
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
