macOS
brew install git-sizerlocal Homebrew formula metadata
sudo port install git-sizerMacPorts ports tree · devel/git-sizer/Portfile · source: api.github.com
brew / rank 4000
Compute various size metrics for a Git repository. Version 1.5.0 via Homebrew; verified 2026-07-27. Also installable with debian: sudo apt install git-sizer.
install
brew install git-sizerlocal Homebrew formula metadata
sudo port install git-sizerMacPorts ports tree · devel/git-sizer/Portfile · source: api.github.com
sudo apk add git-sizerAlpine Linux edge package indexes · git-sizer · source: dl-cdn.alpinelinux.org
sudo apt install git-sizerDebian stable package indexes · git-sizer · source: deb.debian.org
nix profile install nixpkgs#git-sizernixpkgs package indexes · pkgs/by-name/gi/git-sizer/package.nix · source: api.github.com
sudo pacman -S git-sizerArch Linux sync databases · git-sizer · source: geo.mirror.pkgbuild.com
scoop install main/git-sizerScoop official bucket manifest trees · bucket/git-sizer.json · source: api.github.com
winget install --id GitHub.git-sizer -eWindows Package Manager source index · GitHub.git-sizer · source: cdn.winget.microsoft.com
overview
Compute various size metrics for a Git repository
history
git-sizer is a GitHub-authored command-line analyzer that measures repository size and shape, then flags characteristics that make Git operations slow, expensive, or inconvenient.
The GitHub repository began in early 2018 and published v1.0.0 in March 2018. The README presents the tool as a practical diagnostic for repositories that have outgrown Git's comfortable operating range, with checks for large object sets, huge blobs, many references, deep histories, giant trees, long paths, and unusual tag or merge structures.
The project evolved as a Go utility that shells out to Git and reports both human-readable tables and machine-readable JSON. Later releases continued to refine the metric set and output behavior while keeping the core purpose stable: make repository bloat visible before it turns into slow clones, fetches, repacks, garbage collection, and history traversal.
git-sizer has stronger ecosystem reach than most small Git extensions because it comes from the GitHub organization and is packaged across Homebrew, Chocolatey, Debian, Ubuntu, Arch, MacPorts, Nix, Scoop, and winget. That spread reflects its role as an operations tool for maintainers, enterprise source-control teams, and migration projects rather than a daily porcelain command for every developer.
Practitioners run git-sizer inside a full, non-shallow clone to get concern-ranked metrics, often using --verbose for a complete inventory or --json for automation. The output points maintainers toward remedies such as removing generated files, moving binary assets to Git LFS or git-annex, pruning excess refs, splitting subprojects, or reshaping directories.
Package maintainers care about git-sizer because source archives, fetch times, build farms, mirrors, and monorepo migrations all suffer when repository topology gets pathological. It gives a repeatable vocabulary for discussing repository health without requiring a custom Git forensics script.
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.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
git-sizer | executable | indexed executable | Discovered from the local executable index. |
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:git-sizer |
|---|---|
| Version | 1.5.0 |
| Package manager | Homebrew |
| Homepage | https://github.com/github/git-sizer |
| Repository | https://github.com/github/git-sizer |
| Last updated | 2026-07-27T14:57:49+02:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
git-sizer 1.5.0-3+b12
compute various size metrics for a Git repository
https://github.com/github/git-sizer
sudo apt install git-sizergit-sizer
nix profile install nixpkgs#git-sizergit-sizer 1.5.0-3build1
compute various size metrics for a Git repository
https://github.com/github/git-sizer
sudo apt install git-sizergit-sizer 1.5.0-r40
Compute various size metrics for a Git repository
https://github.com/github/git-sizer
sudo apk add git-sizergit-sizer 1.5.0-3
Compute various size metrics for a Git repository
https://github.com/github/git-sizer
sudo pacman -S git-sizergit-sizer
sudo port install git-sizermain/git-sizer
scoop install main/git-sizerGitHub.git-sizer
winget install --id GitHub.git-sizer -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.