Popular: Data updated October 27, 2026

Categories

Internet1,356
Communication321
Audio & video898
Graphics & design539
Office & productivity1,124
Developer tools3,134
AI tools529
Security & privacy385
System tools3,114
Games523
Education & science239
Network & IT284

Download sloc 4.1.0 for Windows

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.

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.

Publisher’s description

What is sloc?

sloc is an open-source terminals & cli tool program for Windows from coldhighsun. It is written in C#.

Installation and requirements

Official installers exist for 64-bit as Portable. It runs without installation (portable).

Updates and version history

The current version is 4.1.0, released on October 2, 2026. 11 versions are listed since July 15, 2026, each with links to its own installer files. The last update is less than a month old.

Popularity and file types

The source code on GitHub (coldhighsun/Sloc) has 2 stars. Similar programs include PowerShell, QPDF and Oh My Posh.

Project description on GitHub: “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.”

Pros / Cons

Pros

  • Open source: the code can be inspected and built by anyone
  • Portable: runs without installation
  • Updated in the last two months

Cons

  • No native ARM64 build

In short: sloc is an open-source terminals & cli tool tool for 64-bit PCs.

Is sloc safe to download?

  • The file is served by github.com, the publisher’s own domain
  • The download link uses HTTPS
  • A SHA256 hash is published, so you can verify the file: F27A81DA9348CE8E85AA5CC5F85B0A910642D4DE3B60B709D6E6B108E30D92FC · Open the VirusTotal report for this hash
  • The link has not been checked yet
  • The source code is public
  • ExeAtlas does not host, wrap or modify installers

Related guide: How to check a file’s SHA256 hash on Windows

Recent versions

All 11 versions ›
2026: 11 11 26
VersionDateSizeFiles
4.1.0Latest October 2, 2026 — 64-bit ZIP
4.0.0 September 25, 2026 — 64-bit ZIP
3.3.0 September 15, 2026 — 64-bit ZIP
3.2.0 September 12, 2026 — 64-bit ZIP
3.1.0 August 21, 2026 — 64-bit ZIP
3.0.0 July 31, 2026 — 64-bit ZIP
2.2.0 July 27, 2026 — 64-bit ZIP
2.1.0 July 26, 2026 — 64-bit ZIP

Install from the command line

Silent install ›
PowerShell
wingetwinget install --id coldhighsun.sloc -e

Related guide: How to use winget: install and update apps

Also for other systems

macOS (Homebrew)brew install sloc

Information

Publisher
coldhighsun
Category
Terminals & CLI tools
Licence
MIT License
Price
Free
Source code
github.com/coldhighsun/Sloc
Written in
C#
Requires
Windows 11 / 10
Architecture
64-bit
Installer
Portable
Version
4.1.0
Released
October 2, 2026
Added to the catalogue
July 15, 2026
Versions listed
11
GitHub stars
2
Website
github.com
winget ID
coldhighsun.sloc

Ratings and reviews

–
0 ratings
50
40
30
20
10
Rate this app

No reviews yet. Be the first to rate it.

Alternatives to sloc

See all ›
  • PowerShell7.6.9.0PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.
    Open source689.6K ↓
  • QPDF12.4.2QPDF is a command-line tool and C++ library that performs content-preserving transformations on PDF files.
    Open source2.1M ↓
  • Oh My Posh31.9.1Prompt theme engine for any shell
    Open source820.8K ↓
  • fzf0.74.5A general-purpose command-line fuzzy finder
    Open source290.1K ↓
  • yq4.54.1yq is a portable command-line YAML, JSON, XML, CSV and properties processor.
    Open source1.5M ↓
  • Alacritty0.17.0Alacritty is a free and open-source GPU accelerated terminal emulator focused on performance and simplicity.
    Open source75.9K ↓
  • cURL8.23.0.5Command line tool and library for transferring data with URLs
    Free5.9M ↓
  • PuTTY0.85.0.0A free implementation of SSH and Telnet for Windows and Unix platforms, along with an xterm terminal emulator.
    Open source5.3M ↓

Frequently asked questions

Is sloc free?

Yes. sloc is open-source software under the MIT License licence.

Is sloc safe to download?

The download comes from github.com, which belongs to the publisher; ExeAtlas does not host or change the file. Compare its SHA256 hash with the one shown here, or open the VirusTotal report for that hash.

How do I install sloc with winget?

Open PowerShell or Windows Terminal and run the winget command shown on this page. winget downloads the official installer and checks its SHA256 hash before running it.

Does sloc run on ARM (Windows on Arm)?

There is no ARM64 build; Windows 11 on Arm can run the 64-bit version through emulation.

Where can I download an older version of sloc?

The versions page lists all 11 versions with links to their official installer files, back to July 15, 2026.

Can I use sloc without administrator rights?

Yes, it is portable: unpack and run it.

What are alternatives to sloc?

PowerShell, QPDF, Oh My Posh, fzf and yq. The alternatives page compares them.

This page in other languages

Report an error

Most popular in Terminals & CLI tools

See all
  1. PowerShellPowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.
  2. QPDFQPDF is a command-line tool and C++ library that performs content-preserving transformations on PDF files.
  3. Oh My PoshPrompt theme engine for any shell
  4. Microsoft Azure CLIThe Azure command-line interface (Azure CLI) is a set of commands used to create and manage Azure resources. The Azure CLI is available across Azure services and is designed to get you working quickly with Azure, with an emphasis on automation.
  5. yqyq is a portable command-line YAML, JSON, XML, CSV and properties processor.
  6. AlacrittyAlacritty is a free and open-source GPU accelerated terminal emulator focused on performance and simplicity.
  7. fzfA general-purpose command-line fuzzy finder
  8. PuTTYA free implementation of SSH and Telnet for Windows and Unix platforms, along with an xterm terminal emulator.
  9. cURLCommand line tool and library for transferring data with URLs
  10. TabbyA terminal for a more modern age.

More from coldhighsun

See all
  • ManagedDriveA Windows RAM disk manager built on .NET 10 and [WinFsp](https://winfsp.dev). Create, mount and manage in-memory volumes that appear as normal drive letters in Explorer.
  • AIUsageMonitor.CliRead-only CLI/WPF analytics for Claude Code's local usage data — usage reports, model breakdowns, and cost estimates without calling the Anthropic API.

Tags

Share