Popular: Data updated November 21, 2026

Categories

Internet1,422
Communication329
Audio & video938
Graphics & design566
Office & productivity1,185
Developer tools3,290
AI tools610
Security & privacy408
System tools3,201
Games545
Education & science242
Network & IT294

cloc 2.12 download

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

This is the current version. · Released:

Installer files 2.12

ArchitectureTypeScopeFile sizeDownloadSHA256
64-bit Portable — — github.com VirusTotal

Link and SHA256 come from the Windows Package Manager community manifest. Compare the hash of the downloaded file before running it.

Release notes

> This is a security release to address vulnerabilities in the handling of archive files (zip, tar, rpm, whl, gem, etc). A maliciously crafted archive file counted with cloc versions before this release can allow a remote code execution (RCE) attack.
> All users are encouraged to update to this (or newer, when available) version.
New Languages and File Types:
- AL (Business Central)
- CUE
- KDL
- RON
- Salam
- Sema
- Windows INF
- Wren
Updates:
- Add ability to count contents of .gem files.
- New switch --total to show total column counts
- Make --exclude-lang case insensitive to make it consistent with --include-lang
- Recognize comment markers in single quoted QML strings
- Add .scp as an extension for SQL stored procedures
- Add .inc as an extension for Assembly
Bug fixes:
- Secure handling of system calls to expand archive files.
- Prevent regex timeouts in Swift.
- Lower memory requirements when handling large XML/HTML and binary files.
- Fix double-open on Windows when handling long paths.
- Ensure an archive file is not a directory before attempting to extract it.

https://github.com/AlDanial/cloc/releases/tag/v2.12