macOS
brew install tokeilocal Homebrew formula metadata
sudo port install tokeiMacPorts ports tree · devel/tokei/Portfile · Source: api.github.com
brew / rang 1218
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de tokei pour les workflows d'agents IA.
installation
brew install tokeilocal Homebrew formula metadata
sudo port install tokeiMacPorts ports tree · devel/tokei/Portfile · Source: api.github.com
sudo apk add tokeiAlpine Linux edge package indexes · tokei · Source: dl-cdn.alpinelinux.org
sudo apt install tokeiDebian stable package indexes · tokei · Source: deb.debian.org
sudo dnf install tokeiFedora Rawhide package metadata · tokei · Source: dl.fedoraproject.org
nix profile install nixpkgs#tokeinixpkgs package indexes · pkgs/by-name/to/tokei/package.nix · Source: api.github.com
sudo pacman -S tokeiArch Linux sync databases · tokei · Source: geo.mirror.pkgbuild.com
sudo zypper install tokeiopenSUSE Tumbleweed package metadata · tokei · Source: download.opensuse.org
scoop install main/tokeiScoop official bucket manifest trees · bucket/tokei.json · Source: api.github.com
winget install --id XAMPPRocky.Tokei -eWindows Package Manager source index · XAMPPRocky.Tokei · Source: cdn.winget.microsoft.com
aperçu
Program that allows you to count code, quickly
historique
Tokei is a Rust code-statistics tool that counts files, total lines, code, comments, and blanks by language, with both CLI and library use cases.
The README positions Tokei as a fast and accurate counter for source trees, emphasizing multi-line and nested-comment handling, more than 150 supported languages, multiple machine-readable output formats, and use as a library.
Tokei's changelog follows Keep a Changelog and Semantic Versioning. Recent entries show continued maintenance through the 13.0.0 alpha series in 2024 and 2025, and a 14.0.0 release dated 2025-12-26 with additional language support such as C++20 modules, Ark TypeScript, and Koka.
The upstream README lists package-manager installs across Unix, macOS, and Windows: apk, pacman, Cargo, conda-forge, dnf, FreeBSD pkg, NetBSD pkgin, Nix, zypper, Void, Homebrew, MacPorts, winget, and Scoop. The input facts independently list Homebrew, Debian, Fedora/DNF, MacPorts, Nix, Arch, Scoop, winget, and openSUSE.
The README also advertises crates.io, GitHub, Homebrew, Chocolatey, and Repology badges, reflecting the project's package-manager-centered distribution culture.
Typical use is pointing tokei at one or more source directories to get a language-by-language table. It respects .gitignore, .ignore, and .tokeignore by default, can exclude paths, sort by statistics columns, print per-file counts, and emit JSON, YAML, or CBOR for downstream tools.
Because tokei can read prior output back in, it also supports workflows that snapshot code statistics and combine them with later runs.
Tokei is significant in the package-nerd niche because it is both a benchmarkable Rust CLI and a widely packaged developer utility. It is small enough to install casually, but broad enough to become a standard smoke-test tool for language detection, ignore-file behavior, terminal output, and package metadata across many ecosystems.
Its long package-manager list and machine-readable output make it useful for maintainers comparing source trees, release artifacts, vendored code, or language mix without bringing in a full analytics stack.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
tokei | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:tokei |
|---|---|
| Version | 14.0.0 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://github.com/XAMPPRocky/tokei |
| Dépôt | https://github.com/XAMPPRocky/tokei |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
tokei 12.1.2-6+b1
display statistics about your code
sudo apt install tokeitokei
nix profile install nixpkgs#tokeitokei 14.0.0-r0
A blazingly fast CLOC (Count Lines Of Code) program
https://github.com/XAMPPRocky/tokei
sudo apk add tokeitokei 14.0.0-6.fc45
Count your code, quickly
https://crates.io/crates/tokei
sudo dnf install tokeitokei 14.0.0-1
A blazingly fast CLOC (Count Lines Of Code) program
https://github.com/XAMPPRocky/tokei
sudo pacman -S tokeitokei 14.0.0+git0-1.3
Code statistics commandline tool
https://github.com/XAMPPRocky/tokei
sudo zypper install tokeitokei
sudo port install tokeimain/tokei
scoop install main/tokeiXAMPPRocky.Tokei
winget install --id XAMPPRocky.Tokei -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.