macOS
brew install tokeilocal Homebrew formula metadata
sudo port install tokeiMacPorts ports tree · devel/tokei/Portfile · ソース: api.github.com
brew / 順位 1218
tokei のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install tokeilocal Homebrew formula metadata
sudo port install tokeiMacPorts ports tree · devel/tokei/Portfile · ソース: api.github.com
sudo apk add tokeiAlpine Linux edge package indexes · tokei · ソース: dl-cdn.alpinelinux.org
sudo apt install tokeiDebian stable package indexes · tokei · ソース: deb.debian.org
sudo dnf install tokeiFedora Rawhide package metadata · tokei · ソース: dl.fedoraproject.org
nix profile install nixpkgs#tokeinixpkgs package indexes · pkgs/by-name/to/tokei/package.nix · ソース: api.github.com
sudo pacman -S tokeiArch Linux sync databases · tokei · ソース: geo.mirror.pkgbuild.com
sudo zypper install tokeiopenSUSE Tumbleweed package metadata · tokei · ソース: download.opensuse.org
scoop install main/tokeiScoop official bucket manifest trees · bucket/tokei.json · ソース: api.github.com
winget install --id XAMPPRocky.Tokei -eWindows Package Manager source index · XAMPPRocky.Tokei · ソース: cdn.winget.microsoft.com
概要
Program that allows you to count code, quickly
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
tokei | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:tokei |
|---|---|
| バージョン | 14.0.0 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/XAMPPRocky/tokei |
| リポジトリ | https://github.com/XAMPPRocky/tokei |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.