# 使用 Homebrew, MacPorts, Nix 安装 svu

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

## 安装

```sh
sudo av install brew:svu
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install svu
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install svu
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#svu
```

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

## 软件包事实

- **软件包键:** brew:svu
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/svu>
- **版本:** 3.4.1
- **来源摘要:** Semantic version utility
- **主页:** <https://github.com/caarlos0/svu>
- **仓库:** <https://github.com/caarlos0/svu>
- **上游文档:** <https://github.com/caarlos0/svu#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/caarlos0/svu/archive/refs/tags/v3.4.1.tar.gz>
- **最后更新:** 2026-05-01T18:22:26Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- svu (cli)
- svu (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.4.1
- 管理器更新时间: 2026-05-01
- 本地数据: OK
- 上游仓库: https://github.com/caarlos0/svu
- 检测到的最新版本: v3.4.1 (当前)
## 项目历史与用法

svu is a small command-line utility for deriving semantic versions from Git history. It is aimed at release scripts and CI workflows that want version bumps to follow SemVer and Conventional Commits without carrying a larger release-management system.

### 项目历史

The caarlos0/svu repository was created on GitHub in December 2017 and describes the tool as a semantic version utility. Its README presents the project as a helper for release scripts and workflows, with commands that increment version components or calculate the next version from commit history.

### 采用历史

The README documents installation through Homebrew, apt/yum repositories, Docker images, go install, and GitHub releases. The input package facts also list Homebrew, MacPorts, and Nix packaging, which is typical for a small Go CLI that package-manager users install directly into release pipelines.

### 使用方式

The central command is `svu next`, which inspects `git log` and maps commit-message patterns such as fixes, features, and breaking changes to patch, minor, or major version bumps. The README also documents a repository-local `.svu.yml` file for setting flag defaults.

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

svu matters to package and release-tool users because it reduces semantic-version calculation to a composable Unix-style executable. It fits especially well in formula update scripts, CI jobs, and Git tag automation where maintainers want predictable version output rather than a full changelog or release platform.

### 时间线

- 2017: GitHub repository created and v0.0.1 released.
- 2020: v1.0.0 released.
- 2026: v3.4.1 listed as the latest GitHub release during research.

### Related projects

- svu explicitly points users to the SemVer specification and advertises Conventional Commits compatibility through its README badges and bump rules.

### 来源

- <https://api.github.com/repos/caarlos0/svu>
- <https://api.github.com/repos/caarlos0/svu/releases>
- <https://github.com/caarlos0/svu#readme>
- source_facts.package-manager


## 安全说明

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: .svu.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** svu
- **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

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

- Nix - svu: normalized package name match | nixpkgs package indexes: pkgs/by-name/sv/svu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - svu: normalized package name match | MacPorts ports tree: devel/svu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [dunamai](https://www.automicvault.com/zh-hans/pkg/brew/dunamai/) - Shares av.db curated category or tags: cli, developer-tools, versioning.
- [release-it](https://www.automicvault.com/zh-hans/pkg/brew/release-it/) - Shares av.db curated category or tags: cli, developer-tools, git, release-automation, versioning.
- [semtag](https://www.automicvault.com/zh-hans/pkg/brew/semtag/) - Shares av.db curated category or tags: cli, developer-tools, git, 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, release-automation, versioning.
- [bumpp](https://www.automicvault.com/zh-hans/pkg/brew/bumpp/) - Shares av.db curated category or tags: cli, developer-tools, release-automation, versioning.
- [cargo-release](https://www.automicvault.com/zh-hans/pkg/brew/cargo-release/) - Shares av.db curated category or tags: cli, developer-tools, release-automation, versioning.
- [changelogen](https://www.automicvault.com/zh-hans/pkg/brew/changelogen/) - Shares av.db curated category or tags: cli, developer-tools, release-automation, versioning.
- [changie](https://www.automicvault.com/zh-hans/pkg/brew/changie/) - Shares av.db curated category or tags: cli, developer-tools, release-automation, versioning.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
