sloc

sloc 4.1.0

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 aggreg

  • By coldhighsun
  • Open Source
  • Updated Oct 2, 2026
Download for Windows

About sloc

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.

Technical details

Publishercoldhighsun
Version4.1.0
Release date2026-10-02
LicenseMIT License
Installer typezip
Architecturex64
Package IDcoldhighsun.sloc

Links & install command

Install sloc from the command line with Windows Package Manager (winget):

winget install --id=coldhighsun.sloc -e

clocsloclines-of-codesource-code-analysiscode-analysiscode-metricscsharpclideveloper-toolsdotnet-tool

Older versions

  • 4.0.0
  • 3.3.0
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.1.0