cloc2.10

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

WindowsSystem ToolsOpen source

Verify your download

Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.

About

cloc measures a codebase by reporting its blank lines, comment lines, and physical source-code lines across many programming languages. Run from a terminal such as cmd.exe on Windows, it can inspect individual text files, directories, Git repositories, or a selected Git commit, as well as source archives. Given two versions of a codebase, it calculates the changes in all three line categories, providing a practical view of how the code evolved.

It recognizes .tar and compressed tar archives, .zip files, Python wheels (.whl), Jupyter notebooks (.ipynb), source RPMs (.rpm or .src), and Debian packages (.deb). RPM and Debian inputs require rpm2cpio and dpkg-deb respectively, while counting can also be applied to every subdirectory beneath a parent directory containing multiple projects. Reports support --by-percent with --fmt formatting styles, and the Windows release executable is named cloc-2.10.exe, alongside the cloc and cloc-2.10.pl forms used with development or Perl sources. Written entirely in Perl, cloc relies on the standard Perl distribution from version 5.6 onward and embeds code from external modules to remain portable.

Version 2.10 from Al Danial targets Windows x64 and adds language definitions for beluga, C3, CodeQL, DAML, Quxlang, Rhai, and Slang. It skips .venv directory contents, updates the wscript implementation, fixes nested archive handling such as a ZIP inside another ZIP, and accepts process substitution for --sum-reports on Unix-like systems; its README also has an updated BibTeX entry. Developers and other users can use this open-source utility to produce consistent line-count and revision-difference figures from projects, archives, and source histories.

Architecture: x64

What's new in v2.10

New Languages and File Types: - beluga - C3 - CodeQL - DAML - Quxlang - Rhai - Slang Updates: - Skip contents of .venv directories. - Update wscript implementation (this is a filename, not an extension). - Updated BibTeX entry in the README. - Add support for --by-percent with --fmt formatting styles. - Support process substitution as input to --sum-reports (Unix-like operating systems only). Bug fixes: - Fix handling of nested archive files (ie, a zip file inside a zip file).

Details

PlatformWindows
CategorySystem Tools
LicenseOpen source
PricingFree
Package IDAlDanial.Cloc
AuthorAl Danial
Latest versionv2.10
File typeEXE
Architecturex64
TypePortable — no installation required
File size9.5 MB
Published9/25/2026

SHA-256

Does this still work for you?

Works (0)Doesn't work (0)Sign in to vote

Badge for your website

Developers can show that cloc is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.

cloc on MirrorNest
HTML
<a href="https://mirrornest.com/software/cloc-7fe35000"><img src="https://mirrornest.com/badge/cloc-7fe35000.svg" alt="cloc on MirrorNest" height="20"></a>
Markdown
[![cloc on MirrorNest](https://mirrornest.com/badge/cloc-7fe35000.svg)](https://mirrornest.com/software/cloc-7fe35000)

Reviews

No reviews yet — be the first.

Leave a review

Sign in to post as a verified member instead of anonymously.

cloc alternatives