# 使用 Homebrew 安装 gvp

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

## 安装

```sh
sudo av install brew:gvp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gvp
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gvp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gvp>
- **版本:** 0.3.0
- **来源摘要:** Go versioning packager
- **主页:** <https://github.com/pote/gvp>
- **仓库:** <https://github.com/pote/gvp>
- **许可证:** MIT
- **源码归档:** <https://github.com/pote/gvp/archive/refs/tags/v0.3.0.tar.gz>
- **最后更新:** 2026-08-02T20:52:09+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gvp (cli)
- gvp (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.3.0
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/pote/gvp
- 检测到的最新版本: v0.3.0 (当前)
## 项目历史与用法

gvp, the Go Versioning Packager, is a shell-oriented helper for isolating Go project dependencies by changing GOPATH, GOBIN, and PATH to use a project-local .godeps directory. It belongs to the pre-Go-modules era of Go dependency management, when GOPATH isolation and vendoring helpers were common.

### 项目历史

The GitHub repository was created on 2014-02-01, and the first GitHub release was published on 2014-02-04. The README says gvp was based on gst, a similar dependency-isolation tool for Ruby gems, and was designed as a companion to gpm while remaining usable on its own.

The release stream moved quickly in 2014 and 2015, with releases for environment handling, plugin support, and other fixes. GitHub releases list v0.3.0 on 2015-07-28 as a release named 'Major improvements and fixes'.

### 采用历史

gvp was packaged for Homebrew and documented a Unix-style source installation flow. Its adoption was tied to Go developers who wanted project-local dependencies before Go modules made module-aware dependency resolution the normal path.

The README's examples combine gpm and gvp, showing a workflow where gpm handled dependency lists and gvp switched the shell into the right dependency context for a project. That made it useful to people juggling multiple GOPATH-based projects with conflicting dependency versions.

### 使用方式

gvp is sourced into the shell because a child process cannot modify the parent shell environment. Once sourced, gvp in adjusts GOPATH and GOBIN to the .godeps tree, gvp out restores the prompt and environment, gvp version prints version information, and unknown subcommands can be delegated to executables named gvp-<command> through the plugin mechanism.

The README also documents autoenv integration: a project can place a source command in .env so entering the directory activates the gvp environment automatically.

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

gvp is historically interesting because it packages the GOPATH workaround era into a tiny tool. It shows how Go users handled isolation before module files became the standard metadata, and it connects Go packaging practice to earlier language-specific environment switchers such as Ruby's gst.

### 时间线

- 2014-02-01: Public GitHub repository created.
- 2014-02-04: First GitHub release, v0.01, published.
- 2014-09-28: v0.2.0 release published.
- 2015-07-28: v0.3.0 release published with major improvements and fixes.
- 2015-10-07: Repository metadata records later activity in the project.

### Related projects

- gpm: README describes gvp as a companion tool for Go dependency management.
- gst: README says gvp was based on this Ruby-gem dependency-isolation tool.
- autoenv: README documents automatic activation through .env files.
- Go GOPATH tooling: gvp's purpose is to isolate GOPATH-era project dependencies.

### 来源

- <https://api.github.com/repos/pote/gvp>
- <https://api.github.com/repos/pote/gvp/releases?per_page=100>
- <https://github.com/pote/gvp>
- <https://raw.githubusercontent.com/pote/gvp/master/README.md>


## 安全说明

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:** gvp
- **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://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [changie](https://pkg.so/zh-hans/brew/changie/) - Shares pkgdb curated category or tags: cli, developer-tools, go, versioning.
- [gotestsum](https://pkg.so/zh-hans/brew/gotestsum/) - Shares pkgdb curated category or tags: cli, developer-tools, go, golang.
- [gup](https://pkg.so/zh-hans/brew/gup/) - Shares pkgdb curated category or tags: cli, developer-tools, go, golang.
- [gotests](https://pkg.so/zh-hans/brew/gotests/) - Shares pkgdb curated category or tags: cli, developer-tools, go, golang.
- [gotags](https://pkg.so/zh-hans/brew/gotags/) - Shares pkgdb curated category or tags: cli, developer-tools, go, golang.
- [fzf](https://pkg.so/zh-hans/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, go.
- [hugo](https://pkg.so/zh-hans/brew/hugo/) - Shares pkgdb curated category or tags: cli, developer-tools, go.
- [golangci-lint](https://pkg.so/zh-hans/brew/golangci-lint/) - Shares pkgdb curated category or tags: cli, developer-tools, go.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
