# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget 安装 git-cliff

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-cliff
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-cliff
```

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

### Linux

- apk (92%):

```sh
sudo apk add git-cliff
```

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

- Nix (92%):

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

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

- pacman (92%):

```sh
sudo pacman -S git-cliff
```

  证据: Arch Linux sync databases: git-cliff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install git-cliff
```

  证据: openSUSE Tumbleweed package metadata: git-cliff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

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

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

- winget (92%):

```sh
winget install --id orhun.git-cliff -e
```

  证据: Windows Package Manager source index: orhun.git-cliff from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:git-cliff
- **软件包管理器:** Homebrew
- **版本:** 2.13.1
- **来源摘要:** Highly customizable changelog generator
- **主页:** <https://git-cliff.org/>
- **仓库:** <https://github.com/orhun/git-cliff>
- **最后更新:** 2026-06-22T14:03:30-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-cliff (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

git-cliff is a Rust changelog generator that derives release notes from Git history. It sits in the release-engineering space around Conventional Commits, templated changelogs, and automated package publishing.

### 项目历史

The project is authored by Orhun Parmaksiz and began its documented release series with v0.1.0 on 2021-08-12. Its changelog records steady growth across the 0.x line into 2022 and a larger 2.x line by 2026, with work on configuration, templating, remote integrations, CI packaging, npm packaging, PyPI wheels, and Docker images.

### 采用历史

git-cliff gained adoption because it solves a recurring maintainer problem: turning commit history into readable release notes without hand-editing every release. The README links official documentation, community writing, a RustLab 2023 talk, an interview, editor support, and related projects, which shows a tool with a visible release-management ecosystem rather than a one-off script.

### 使用方式

Practitioners configure cliff.toml, choose parsers for Conventional Commits or custom commit patterns, and render changelogs through the CLI or in CI. The template system lets maintainers align generated notes with project conventions while still deriving content from Git data.

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

For package maintainers, git-cliff matters because it packages release-note generation as a reproducible build step. Its availability across Homebrew, Linux distributions, Scoop, winget, crates.io, npm, PyPI, and container workflows makes it easy to use in heterogeneous release pipelines.

### 时间线

- 2021: v0.1.0 release documented in the changelog.
- 2022: 0.8.x releases continued the early public line.
- 2026: 2.13.x changelog entries documented mature CI, packaging, configuration, and remote work.

### Related projects

- The README lists related changelog and release tools including git-journal, clog-cli, relnotes, cocogitto, release-plz, and other Git changelog generators.

### 来源

- <https://formulae.brew.sh/formula/git-cliff>
- <https://git-cliff.org/docs>
- <https://github.com/orhun/git-cliff>
- <https://raw.githubusercontent.com/orhun/git-cliff/main/CHANGELOG.md>
- <https://raw.githubusercontent.com/orhun/git-cliff/main/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: cliff.toml, .cliff.toml, .config/cliff.toml, ~/cliff.toml, ~/.cliff.toml, ~/.config/cliff.toml
- Windows: cliff.toml, .cliff.toml, .config/cliff.toml, C:\Users\<user>\AppData\Roaming\cliff.toml, C:\Users\<user>\AppData\Roaming\.cliff.toml, C:\Users\<user>\AppData\Roaming\.config\cliff.toml
## 其他软件包管理器记录

- Nix - git-cliff: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-cliff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - git-cliff - 2.13.1-r0: normalized package name match | Alpine Linux edge package indexes: git-cliff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A highly customizable changelog generator | https://github.com/orhun/git-cliff
- apk - git-cliff-bash-completion - 2.13.1-r0: normalized package name match | Alpine Linux edge package indexes: git-cliff-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for git-cliff | https://github.com/orhun/git-cliff
- apk - git-cliff-doc - 2.13.1-r0: normalized package name match | Alpine Linux edge package indexes: git-cliff-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A highly customizable changelog generator (documentation) | https://github.com/orhun/git-cliff
- apk - git-cliff-fish-completion - 2.13.1-r0: normalized package name match | Alpine Linux edge package indexes: git-cliff-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for git-cliff | https://github.com/orhun/git-cliff
- apk - git-cliff-zsh-completion - 2.13.1-r0: normalized package name match | Alpine Linux edge package indexes: git-cliff-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for git-cliff | https://github.com/orhun/git-cliff
- pacman - git-cliff - 2.13.1-1: normalized package name match | Arch Linux sync databases: git-cliff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A highly customizable changelog generator | https://github.com/orhun/git-cliff
- zypper - git-cliff - 2.12.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: git-cliff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Changelog generator for git repositories | https://github.com/orhun/git-cliff
- zypper - git-cliff-bash-completion - 2.12.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: git-cliff-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for git-cliff | https://github.com/orhun/git-cliff
- zypper - git-cliff-fish-completion - 2.12.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: git-cliff-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for git-cliff | https://github.com/orhun/git-cliff
- zypper - git-cliff-zsh-completion - 2.12.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: git-cliff-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for git-cliff | https://github.com/orhun/git-cliff
- MacPorts - git-cliff: normalized package name match | MacPorts ports tree: devel/git-cliff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/git-cliff: normalized package name match | Scoop official bucket manifest trees: bucket/git-cliff.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - orhun.git-cliff: normalized package name match | Windows Package Manager source index: orhun.git-cliff from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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