# 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
- **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>
- **Last updated:** 2026-07-26T04:03:36+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- scc (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.7.0

## Security Notes

narrow executable package without higher-risk signals.

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

## 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


## 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
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
