# 使用 Homebrew, apk, apt, Nix, scoop 安装 git-quick-stats

查看 git-quick-stats 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:git-quick-stats
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-quick-stats
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add git-quick-stats
```

  证据: Alpine Linux edge package indexes: git-quick-stats from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install git-quick-stats
```

  证据: Debian stable package indexes: git-quick-stats from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#git-quick-stats
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/git-quick-stats
```

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

## 软件包事实

- **软件包键:** brew:git-quick-stats
- **软件包管理器:** Homebrew
- **版本:** 2.11.0
- **来源摘要:** Simple and efficient way to access statistics in git
- **主页:** <https://git-quick-stats.sh/>
- **仓库:** <https://github.com/git-quick-stats/git-quick-stats>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-quick-stats (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.11.0
## 项目历史与用法

git-quick-stats is a Bash-based Git statistics tool that turns commit history into interactive and scripted reports about contributors, branches, commit timing, changelogs, and reviewer suggestions.

### 项目历史

The repository began in January 2017 and published its 1.0.0 tag later that month. The project organized around a single command that can run as git-quick-stats or git quick-stats, giving users an interactive menu as well as non-interactive options.

Over time the project added package-manager installation paths, Docker support, JSON and CSV output modes, time-window filters, pathspec filtering, author filtering, heatmaps, timezone breakdowns, and platform notes for GNU date on macOS and FreeBSD.

### 采用历史

git-quick-stats has broader package coverage than many small Git helpers: the input records Homebrew, Debian, Ubuntu, Alpine, Nix, and Scoop packaging. The README also documents apt installation for Debian Bullseye or Ubuntu Focal and later, Homebrew installation on macOS, Windows use through Cygwin or WSL, and Docker use.

The project sits in the long-lived command-line reporting niche around git log, providing a friendlier front end for data that Git can expose but that is tedious to assemble by hand.

### 使用方式

Practitioners run it inside a Git repository to open the interactive menu or pass flags for reports such as detailed stats, branch stats, contributors, commits per author, commits by day, commits by hour, branches by date, changelogs, and new contributors since a date or tag.

Environment variables let users shape reports without separate config files: _GIT_SINCE and _GIT_UNTIL bound the log range, _GIT_PATHSPEC excludes paths, _GIT_IGNORE_AUTHORS filters people, and _GIT_MERGE_VIEW changes merge handling.

### 为什么软件包爱好者会关心

For package-index users, git-quick-stats is a classic portable shell utility: small dependency surface, installation through many OS package managers, and behavior built on standard command-line tools such as git, awk, grep, sort, and coreutils.

### 时间线

- 2017: Repository initialized.
- 2017: 1.0.0 tag published.
- 2024: 2.x series developed after years of 1.x releases.
- 2026: 2.11.0 tag published.

### Related projects

- git itself provides the raw log data consumed by git-quick-stats.
- GNU coreutils supplies GNU date, which the README calls out as a requirement on macOS and FreeBSD.

### 来源

- <https://formulae.brew.sh/formula/git-quick-stats>
- <https://git-quick-stats.sh/>
- <https://github.com/git-quick-stats/git-quick-stats>
- <https://github.com/git-quick-stats/git-quick-stats#readme>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - git-quick-stats - 2.5.8-1: normalized package name match | Debian stable package indexes: git-quick-stats from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple and efficient way to access various statistics in git repository | https://github.com/arzzen/git-quick-stats
- Nix - git-quick-stats: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-quick-stats/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - git-quick-stats - 2.5.4-1: normalized package name match | Ubuntu 24.04 LTS package indexes: git-quick-stats from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple and efficient way to access various statistics in git repository | https://github.com/arzzen/git-quick-stats
- apk - git-quick-stats - 2.11.0-r0: normalized package name match | Alpine Linux edge package indexes: git-quick-stats from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Access various statistics in git repository | https://git-quick-stats.sh
- apk - git-quick-stats-doc - 2.11.0-r0: normalized package name match | Alpine Linux edge package indexes: git-quick-stats-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Access various statistics in git repository (documentation) | https://git-quick-stats.sh
- Scoop - main/git-quick-stats: normalized package name match | Scoop official bucket manifest trees: bucket/git-quick-stats.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
