# 使用 Homebrew 安装 gvp

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gvp
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gvp
- **软件包管理器:** Homebrew
- **版本:** 0.3.0
- **来源摘要:** Go versioning packager
- **主页:** <https://github.com/pote/gvp>
- **仓库:** <https://github.com/pote/gvp>
- **最后更新:** 2026-08-02T20:52:09+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gvp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
