# 使用 Homebrew 安装 dunamai

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

## 安装

```sh
sudo av install brew:dunamai
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dunamai
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:dunamai
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dunamai>
- **版本:** 1.26.1
- **来源摘要:** Dynamic version generation
- **主页:** <https://github.com/mtkennerly/dunamai>
- **仓库:** <https://github.com/mtkennerly/dunamai>
- **上游文档:** <https://dunamai.readthedocs.io/>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/9f/67/d5611975faaa5e4a920f4b19e4caccd5df0facb925687850f1e45f5876f2/dunamai-1.26.1.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- dunamai (cli)
- dunamai (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.26.1
- 本地数据: OK
- 上游仓库: https://github.com/mtkennerly/dunamai
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Dunamai is a Python library and CLI for deriving standards-compliant version strings from version-control tags, aimed at CI builds, release tagging, and dynamic package versions.

### 项目历史

Dunamai was created in 2019 by Michael Kennerly as an alternative in the dynamic-versioning space. Its README contrasts it with Versioneer, especially for projects that do not use setup.py or do not want generated versioning code committed into the repository.

The project broadened beyond Git-only workflows: official docs list support for Git, Mercurial, Darcs, Subversion, Bazaar, Fossil, and Pijul, and serialization styles including PEP 440, Semantic Versioning, and Haskell PVP.

### 采用历史

Dunamai is distributed as a Python package, a command-line tool, a GitHub Action, and a Homebrew formula. Its most visible related adoption path is poetry-dynamic-versioning, another mtkennerly project that uses VCS tags to enable dynamic versioning in Poetry projects.

### 使用方式

Users call commands such as `dunamai from any` in CI or release scripts to produce versions from tags, commit distance, dirty state, branch names, and commit IDs. As a library, it exposes a Version object so build tools can inspect and serialize version parts.

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

Dunamai matters to package maintainers because dynamic version generation sits at the boundary between VCS history, build backends, Python packaging rules, and reproducible release artifacts. It is a small package, but it codifies a common maintainer desire: tag a release once and let packaging metadata follow.

### 时间线

- 2019: The GitHub repository is created.
- 2019: v0.1.0 is published on GitHub Releases and PyPI.
- 2019: poetry-dynamic-versioning is created as a related Poetry integration.
- 2026: v1.26.1 is published and packaged as Homebrew stable 1.26.1.

### Related projects

- Related projects include Versioneer, setuptools-scm, poetry-dynamic-versioning, Poetry, Flit, GitHub Actions, and the VCS tools that Dunamai can read: Git, Mercurial, Darcs, Subversion, Bazaar, Fossil, and Pijul.

### 来源

- <https://github.com/mtkennerly/dunamai#readme>
- <https://dunamai.readthedocs.io/>
- <https://api.github.com/repos/mtkennerly/dunamai>
- <https://api.github.com/repos/mtkennerly/dunamai/releases>
- <https://pypi.org/pypi/dunamai/json>
- <https://api.github.com/repos/mtkennerly/poetry-dynamic-versioning>
- <https://formulae.brew.sh/formula/dunamai>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dunamai
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [svu](https://www.automicvault.com/zh-hans/pkg/brew/svu/) - Shares av.db curated category or tags: cli, developer-tools, versioning.
- [bump-my-version](https://www.automicvault.com/zh-hans/pkg/brew/bump-my-version/) - Shares av.db curated category or tags: cli, developer-tools, python, versioning.
- [libversion](https://www.automicvault.com/zh-hans/pkg/brew/libversion/) - Shares av.db curated category or tags: cli, developer-tools, versioning.
- [semtag](https://www.automicvault.com/zh-hans/pkg/brew/semtag/) - Shares av.db curated category or tags: cli, developer-tools, versioning.
- [semver](https://www.automicvault.com/zh-hans/pkg/brew/semver/) - Shares av.db curated category or tags: cli, developer-tools, versioning.
- [abi3audit](https://www.automicvault.com/zh-hans/pkg/brew/abi3audit/) - Shares av.db curated category or tags: cli, developer-tools, python.
- [auditwheel](https://www.automicvault.com/zh-hans/pkg/brew/auditwheel/) - Shares av.db curated category or tags: cli, developer-tools, python.
- [austin](https://www.automicvault.com/zh-hans/pkg/brew/austin/) - Shares av.db curated category or tags: cli, developer-tools, python.
- [eralchemy](https://www.automicvault.com/zh-hans/pkg/brew/eralchemy/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, generation, python.
- [git-big-picture](https://www.automicvault.com/zh-hans/pkg/brew/git-big-picture/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, python, python-3-14.
- [git-imerge](https://www.automicvault.com/zh-hans/pkg/brew/git-imerge/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, python, python-3-14.

## Combined YAML source

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


## 来源

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