sloc
Last updated
Sloc (Source Lines Of Code) is a .NET global command-line tool for counting lines of source code. It analyzes files individually, distinguishing code lines, comment lines, and blank lines, then aggregates results by programming language.
Install with winget
$ winget install --id coldhighsun.sloc --exact --version 3.1.0Run 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.
Installers · v3.1.0
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x64 | ZIP archive | - | 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 sloc.
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 coldhighsun or browse cloc, sloc, lines-of-code.
Frequently asked questions
How do I install sloc on Windows?
How do I install sloc silently for unattended deployment?
How do I uninstall sloc via winget?
Is sloc free?
Does sloc work on Windows 10?
How do I keep sloc up to date?
Recent versions
- 3.1.0latest
- 3.0.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.1.0
- 1.0.1