cloc

Al Danial·AlDanial.Cloc

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

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. Given two versions of a code base, cloc can compute differences in blank, comment, and source lines. It is written entirely in Perl with no dependencies outside the standard distribution of Perl v5.6 and higher (code from some external modules is embedded within cloc) and so is quite portable.

winget install --id AlDanial.Cloc --exact --source winget

Latest 2.10·July 4, 2026

Release Notes

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).

Installer type: portable

ArchitectureScopeDownloadSHA256
x64Download97786C4B5BB71D2BE67E42061A2F5D03DB73BBF88228F8710001D770E867BBEF

Details

Homepage
https://github.com/AlDanial/cloc
License
GPL-2.0
Publisher
Al Danial
Support
https://github.com/AlDanial/cloc/issues
Copyright
Copyright (c) 2006-2018, Al Danial
Moniker
cloc

Tags

cloccount-linesprogramming-language

Older versions (6)

2.08
ArchitectureScopeDownloadSHA256
x64Download4529557D957ADE0DD45746EAE10E9C51EE01061BB617EEEAB256672FAF6E42C6
2.06
ArchitectureScopeDownloadSHA256
x64Downloadbbe48de9102d0f2520d292d65897001c1d068340eb7cd74dd1ee30c1a9091c4a
2.04
ArchitectureScopeDownloadSHA256
neutralDownload89CDA0038BF4E13C6C13EBC1E60BEC4DFAD362E69AC8A5B8E2D5EBE3020359E1
2.02
ArchitectureScopeDownloadSHA256
x64Downloadbe033061e091fea48a5bc9e8964cee0416ddd5b34bd5226a1c9aa4b30bdba66a
2.00
ArchitectureScopeDownloadSHA256
x64Download7A234EF0CB495DE1B5776ACF88C5554E2BAB1FB02725A5FB85756A6DB3121C1F
1.98
ArchitectureScopeDownloadSHA256
x64Download88615D193EC8C06F7CEEC3CC1D661088AF997798D87DDFF331D9E9F9128A6782