Wingetlywingetly
← All apps
S

sloc

by coldhighsunv3.1.0

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

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Built by Pckgr

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 trial

No credit card required.

Installers · v3.1.0

ArchitectureTypeScopeInstallDownload
x64ZIP
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

  • ManagedDrivecoldhighsun
    coldhighsun.ManagedDrivev1.11.0

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

  • A
    AIUsageMonitor.Clicoldhighsun
    coldhighsun.AIUsageMonitor.Cliv0.2.0

    Read-only CLI/WPF analytics for Claude Code's local usage data — usage reports, model breakdowns, and cost estimates without calling the Anthropic API.

  • Microsoft .NET Windows Desktop Runtime 10.0Microsoft Corporation
    Microsoft.DotNet.DesktopRuntime.10v10.0.11

    .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

  • R
    rtkrtk-ai
    rtk-ai.rtkv0.45.0

    CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

  • C
    Codex CLIOpenAI, Inc.
    OpenAI.Codexv0.146.1

    Codex CLI is an open‑source local coding agent that runs in your terminal, letting you write, edit, and understand code without leaving the command line.

  • Microsoft .NET Windows Desktop Runtime 8.0Microsoft Corporation
    Microsoft.DotNet.DesktopRuntime.8v8.0.30

    .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

More from coldhighsun or browse cloc, sloc, lines-of-code.

Frequently asked questions

How do I install sloc on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id coldhighsun.sloc --exact --version 3.1.0. winget downloads the installer from coldhighsun and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install sloc silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id coldhighsun.sloc --exact 3.1.0 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
How do I uninstall sloc via winget?
Run: winget uninstall --id coldhighsun.sloc --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from sloc's Apps & Features entry.
Is sloc free?
sloc is distributed under MIT License. Refer to the publisher (https://github.com/coldhighsun/Sloc) for the full license terms - Wingetly itself does not charge for installation.
Does sloc work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls sloc directly from the publisher.
How do I keep sloc up to date?
Run winget upgrade --id coldhighsun.sloc --exact, or winget upgrade --all to update everything winget tracks. We index 7 versions of sloc from microsoft/winget-pkgs.

Recent versions

  • 3.1.0latest
  • 3.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.1.0
  • 1.0.1