cloc
Last updated
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
Install with winget
$ winget install --id AlDanial.Cloc --exact --version 2.10Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
About
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.
Installers · v2.10
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x64 | Portable | - | Direct |
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
No known CVEs for cloc.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.
Related apps
More from Al Danial or browse cloc, count-lines, programming-language.
Frequently asked questions
How do I install cloc on Windows?
How do I install cloc silently for unattended deployment?
How do I uninstall cloc via winget?
Is cloc free?
Does cloc work on Windows 10?
How do I keep cloc up to date?
Recent versions
- 2.10latest
- 2.08
- 2.06
- 2.04
- 2.02
- 2.00
- 1.98