macOS
brew install scclocal Homebrew formula metadata
sudo port install sccMacPorts ports tree · devel/scc/Portfile · source: api.github.com
brew / rank 1628
Fast and accurate code counter with complexity and COCOMO estimates. Version 4.1.0 via Homebrew; verified 2026-09-15. Also installable with nix: nix profile install nixpkgs#scc.
install
brew install scclocal Homebrew formula metadata
sudo port install sccMacPorts ports tree · devel/scc/Portfile · source: api.github.com
sudo apk add sccAlpine Linux edge package indexes · scc · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#sccnixpkgs package indexes · pkgs/by-name/sc/scc/package.nix · source: api.github.com
sudo zypper install sccopenSUSE Tumbleweed package metadata · scc · source: download.opensuse.org
scoop install main/sccScoop official bucket manifest trees · bucket/scc.json · source: api.github.com
winget install --id BenBoyter.scc -eWindows Package Manager source index · BenBoyter.scc · source: cdn.winget.microsoft.com
overview
Fast and accurate code counter with complexity and COCOMO estimates
history
scc—expanded as Sloc Cloc and Code or Succinct Code Counter—is a fast Go-based source-code counter. It reports files, code, comments, blanks, complexity, and software-cost estimates across a broad language catalog.
Ben Boyter created scc as a fast, accurate alternative to tools such as cloc, SLOCCount, and tokei. Written in Go, it uses state-machine-based parsing to distinguish code, comments, strings, and blank lines across hundreds of languages.
The project expanded beyond line counting into complexity and COCOMO estimates, unique-lines-of-code analysis, CI output, badges, library use, and Git-history reports. Its official release series reached version 3.x and continues to add language definitions and analysis features.
scc is distributed across numerous operating-system package ecosystems, including Homebrew, Alpine, Nix, MacPorts, Scoop, WinGet, and openSUSE. The official project lists use by GitHub CodeQL, JetBrains Qodana, Scaleway, Linux Foundation LFX Insights, OpenEMS, and searchcode.com.
Users typically run scc against files or directories to get a tabular language breakdown. Flags enable JSON and other formats, per-file output, complexity, COCOMO, unique-line, CI, and Git-history reports. Default options may be stored in a current-directory .sccconfig or an explicitly selected global configuration file.
scc belongs to the long-running family of source-line counters but combines speed with language-aware comment handling, complexity estimates, COCOMO cost estimates, unique-line metrics, and many output formats. Its short executable name and single-binary Go implementation make it particularly convenient in package-manager and CI workflows.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./.sccconfigpath specified by SCC_CONFIG_PATHpath passed to --configexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
scc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:scc |
|---|---|
| Version | 4.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/scc |
| Homepage | https://github.com/boyter/scc/ |
| Repository | https://github.com/boyter/scc |
| Upstream docs | https://github.com/boyter/scc/ |
| License | MIT OR Unlicense |
| Source archive | https://github.com/boyter/scc/archive/refs/tags/v4.0.0.tar.gz |
| Last updated | 2026-09-15T05:47:16+02:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | scc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
scc
nix profile install nixpkgs#sccscc 3.7.0-r4
Very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
sudo apk add sccscc 3.6.0-1.7
CLI tool to report lines of code and other metrics
sudo zypper install sccscc
sudo port install sccmain/scc
scoop install main/sccBenBoyter.scc
winget install --id BenBoyter.scc -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.