# Install git-pkgs with Homebrew, Nix, scoop

Track package dependencies across git history. Version 0.17.0 via Homebrew; verified 2026-06-29.

## Install

```sh
sudo av install brew:git-pkgs
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-pkgs
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#git-pkgs
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/git-pkgs
```

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

## Package facts

- **Package key:** brew:git-pkgs
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-pkgs>
- **Version:** 0.17.0
- **Source summary:** Track package dependencies across git history
- **Homepage:** <https://git-pkgs.dev>
- **Repository:** <https://github.com/git-pkgs/git-pkgs>
- **Upstream docs:** <https://github.com/git-pkgs/git-pkgs#readme>
- **License:** MIT
- **Source archive:** <https://github.com/git-pkgs/git-pkgs/archive/refs/tags/v0.17.0.tar.gz>
- **Last updated:** 2026-06-29T15:49:54Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-pkgs (cli)
- git-pkgs (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-07-08
- Package-manager version: 0.17.0
- Package-manager updated: 2026-06-29
- Local data: ok
- Upstream repository: https://github.com/git-pkgs/git-pkgs
- Upstream latest detected: v0.17.0 (current)
## Project history and usage

git-pkgs is a Git subcommand for indexing dependency changes across repository history into SQLite, so teams can ask when packages were added, changed, removed, or linked to vulnerability and license events.

### Project history

The project began as a Ruby implementation by Andrew Nesbitt and was later rewritten in Go under the git-pkgs organization. Both READMEs describe the same core idea: lockfiles and manifests show dependency state, but a queryable Git-history database explains how that state came to exist.

The Go repository began in January 2026 and kept the Git-subcommand interface while broadening the command set around vulnerability history, SBOM export, licenses, package-manager operations, changelog lookup, plugin support, structured help output, and CI actions.

### Adoption history

git-pkgs fits the supply-chain tooling ecosystem around OSV, Package URLs, CycloneDX, SPDX, and ecosyste.ms. Its package-manager coverage in the input includes Homebrew, Nix, and Scoop, and the README documents GitHub Actions workflows for dependency diffs, vulnerability reports, and license checks in pull requests.

### How it is used

Practitioners run git pkgs init inside a repository to build .git/pkgs.sqlite3, then use subcommands such as list, history, blame, diff, stale, vulns, licenses, sbom, and changelog. The tool is designed to work offline for Git-history queries and to use external services only for enrichment such as vulnerabilities, registry metadata, and changelogs.

Security and platform teams use it to explain who introduced a dependency or vulnerability, compare branches semantically instead of reading lockfile noise, generate SBOMs, and add CI checks that focus reviewers on dependency changes.

### Why package nerds care

git-pkgs is notable because it treats dependency manifests as historical data rather than only static files. Its support for many package managers, Package URLs, OSV, ecosyste.ms, and SBOM formats makes it a package-nerd tool for answering provenance and maintenance questions across language ecosystems from inside ordinary Git workflows.

### Timeline

- 2026: Original Ruby repository tagged v0.1.0.
- 2026: Go rewrite repository began under github.com/git-pkgs/git-pkgs.
- 2026: v0.9.0 tag published for the Go implementation.
- 2026: v0.17.0 tag published after additions around package-management and supply-chain workflows.

### Related projects

- The original Ruby repository is github.com/andrew/git-pkgs.
- git-pkgs/actions provides reusable GitHub Actions for CI use.
- ecosyste.ms and OSV provide registry and vulnerability data used by enrichment commands.

### Sources

- <https://git-pkgs.dev>
- <https://github.com/andrew/git-pkgs>
- <https://github.com/git-pkgs/actions>
- <https://github.com/git-pkgs/git-pkgs>


## Security Notes

No matching local secret-handling manifest was found for git-pkgs. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-pkgs
- **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 - git-pkgs: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-pkgs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/git-pkgs: normalized package name match | Scoop official bucket manifest trees: bucket/git-pkgs.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [git-pages](https://www.automicvault.com/pkg/brew/git-pages/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extension, version-control.
- [git-plus](https://www.automicvault.com/pkg/brew/git-plus/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extension, version-control.
- [git-quick-stats](https://www.automicvault.com/pkg/brew/git-quick-stats/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extension, version-control.
- [git-recent](https://www.automicvault.com/pkg/brew/git-recent/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extension, version-control.
- [git-remote-codecommit](https://www.automicvault.com/pkg/brew/git-remote-codecommit/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extension, version-control.
- [git-revise](https://www.automicvault.com/pkg/brew/git-revise/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extension, version-control.
- [aicommit](https://www.automicvault.com/pkg/brew/aicommit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommit2](https://www.automicvault.com/pkg/brew/aicommit2/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.

## Combined YAML source

View the package source record on GitHub. [combined/git-pkgs.yml](https://github.com/automic-vault/db/blob/main/combined/git-pkgs.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
