简介
Tokei 是一个 Rust 编写的极速代码统计工具,GitHub 12,000+ stars。支持 200+ 语言,瞬间统计代码行、注释行和空白行。输出 JSON/YAML 可集成到 CI。适合需要快速了解代码库规模的开发者。
Blazing-fast code statistics tool written in Rust. Count lines of code, comments, and blanks across 200+ languages. Perfect for project health reports and AI context. 12,000+ stars.
这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。
brew install tokei # macOS
tokei # 在项目目录运行,立即显示代码统计Tokei 是一个 Rust 编写的极速代码统计工具,GitHub 12,000+ stars。支持 200+ 语言,瞬间统计代码行、注释行和空白行。输出 JSON/YAML 可集成到 CI。适合需要快速了解代码库规模的开发者。
Created by XAMPPRocky. Licensed under MIT/Apache 2.0.
tokei — ⭐ 12,000+