# Install scc with Homebrew, apk, MacPorts, Nix, zypper, scoop, winget

Fast and accurate code counter with complexity and COCOMO estimates. Version 3.7.0 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#scc.

## Install

```sh
sudo av install brew:scc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install scc
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install scc
```

  Evidence: MacPorts ports tree: devel/scc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add scc
```

  Evidence: Alpine Linux edge package indexes: scc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#scc
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sc/scc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install scc
```

  Evidence: openSUSE Tumbleweed package metadata: scc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/scc
```

  Evidence: Scoop official bucket manifest trees: bucket/scc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id BenBoyter.scc -e
```

  Evidence: Windows Package Manager source index: BenBoyter.scc from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:scc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/scc>
- **Version:** 3.7.0
- **Source summary:** Fast and accurate code counter with complexity and COCOMO estimates
- **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/v3.7.0.tar.gz>
- **Last updated:** 2026-07-26T04:03:36+02:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- scc (cli)
- scc (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 3.7.0
- Package-manager updated: 2026-07-26
- Local data: ok
- Upstream repository: https://github.com/boyter/scc
- Upstream latest detected: v3.7.0 (current)

## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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:** head, stable

## Other Package-Manager Records

- Nix - scc: normalized package name match | nixpkgs package indexes: pkgs/by-name/sc/scc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - scc - 3.7.0-r4: normalized package name match | Alpine Linux edge package indexes: scc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go | https://github.com/boyter/scc
- zypper - scc - 3.6.0-1.7: normalized package name match | openSUSE Tumbleweed package metadata: scc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI tool to report lines of code and other metrics | https://github.com/boyter/scc
- MacPorts - scc: normalized package name match | MacPorts ports tree: devel/scc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/scc: normalized package name match | Scoop official bucket manifest trees: bucket/scc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - BenBoyter.scc: normalized package name match | Windows Package Manager source index: BenBoyter.scc from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/brew/go/) - Build dependency declared by Homebrew.
- [cloc](https://pkg.so/brew/cloc/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [fallow](https://pkg.so/brew/fallow/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [astgen](https://pkg.so/brew/astgen/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [loc](https://pkg.so/brew/loc/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [clang-include-graph](https://pkg.so/brew/clang-include-graph/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [cppinsights](https://pkg.so/brew/cppinsights/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [ohcount](https://pkg.so/brew/ohcount/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [lizard-analyzer](https://pkg.so/brew/lizard-analyzer/) - Shares pkgdb curated category or tags: cli, code-analysis, developer-tools.
- [sloc](https://pkg.so/npm/sloc/) - Local package facts share a topical domain. Shared terms: analysis, cli, code, code-analysis, developer.

## Combined YAML source

View the package source record on GitHub. [combined/scc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/scc.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
