pkg.soopen package index

brew / rang 1218

Installer tokei avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de tokei pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install tokei

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install tokei

MacPorts ports tree · devel/tokei/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add tokei

Alpine Linux edge package indexes · tokei · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install tokei

Debian stable package indexes · tokei · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install tokei

Fedora Rawhide package metadata · tokei · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#tokei

nixpkgs package indexes · pkgs/by-name/to/tokei/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S tokei

Arch Linux sync databases · tokei · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install tokei

openSUSE Tumbleweed package metadata · tokei · Source: download.opensuse.org

Windows

Scoopvérifié · 92%
scoop install main/tokei

Scoop official bucket manifest trees · bucket/tokei.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id XAMPPRocky.Tokei -e

Windows Package Manager source index · XAMPPRocky.Tokei · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Program that allows you to count code, quickly

Commandes et alias

  • tokei

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • Current: README documents support for Mac, Linux, and Windows, more than 150 languages, JSON/YAML/CBOR output, and library use.
  • 2024-03-04: 13.0.0-alpha.1 changelog entry added maintenance and language-data updates.
  • 2025-07-21: 13.0.0-alpha.9 changelog entry included Markdown CRLF and mixed-line-ending fixes.
  • 2025-12-26: 14.0.0 changelog entry added C++20 modules and Ark TypeScript support.

Related projects

  • Tokei belongs to the same utility family as cloc and scc, though the cited upstream material emphasizes Tokei's own speed, accuracy, language coverage, and Rust library interface.
  • Repology, Homebrew, Cargo, winget, Scoop, and distribution package managers are part of the adoption surface documented by the README and input facts.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

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

Exécutables installés

CommandeTypeExpositionNote
tokeiexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et 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.

page générée2026-08-03
version du gestionnaire14.0.0
gestionnaire mis à jour
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:tokei
Version14.0.0
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://github.com/XAMPPRocky/tokei
Dépôthttps://github.com/XAMPPRocky/tokei
Bouteillenon enregistré
Serviceaucun déclaré

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

tokei 12.1.2-6+b1

display statistics about your code

https://tokei.rs

sudo apt install tokei
  • Section: utils
  • Architecture: amd64
  • Source Package: rust-tokei
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Tokei
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tokei from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tokei

nix profile install nixpkgs#tokei
  • normalized package name match
  • Correspondance par : Tokei
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/to/tokei/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

tokei 14.0.0-r0

A blazingly fast CLOC (Count Lines Of Code) program

https://github.com/XAMPPRocky/tokei

sudo apk add tokei
  • License: MIT AND Apache-2.0
  • Architecture: x86_64
  • Source Package: tokei
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Tokei
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tokei from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

tokei 14.0.0-6.fc45

Count your code, quickly

https://crates.io/crates/tokei

sudo dnf install tokei
  • License: (MIT OR Apache-2.0) AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-tokei
  • 4 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Tokei
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tokei from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

tokei 14.0.0-1

A blazingly fast CLOC (Count Lines Of Code) program

https://github.com/XAMPPRocky/tokei

sudo pacman -S tokei
  • License: MIT AND Apache
  • Architecture: x86_64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Tokei
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tokei from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

tokei 14.0.0+git0-1.3

Code statistics commandline tool

https://github.com/XAMPPRocky/tokei

sudo zypper install tokei
  • License: (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tokei
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Tokei
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tokei from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

tokei

sudo port install tokei
  • normalized package name match
  • Correspondance par : Tokei
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/tokei/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/tokei

scoop install main/tokei
  • normalized package name match
  • Correspondance par : Tokei
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/tokei.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

XAMPPRocky.Tokei

winget install --id XAMPPRocky.Tokei -e
  • normalized package name match
  • Correspondance par : Tokei
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: XAMPPRocky.Tokei from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation