# 使用 Homebrew, Nix, winget 安装 gup

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

## 安装

```sh
sudo av install brew:gup
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gup
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gup
```

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

### Windows

- winget (92%):

```sh
winget install --id nao1215.gup -e
```

  证据: Windows Package Manager source index: nao1215.gup from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:gup
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gup>
- **版本:** 1.7.1
- **来源摘要:** Update binaries installed by go install
- **主页:** <https://github.com/nao1215/gup>
- **仓库:** <https://github.com/nao1215/gup>
- **上游文档:** <https://github.com/nao1215/gup#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/nao1215/gup/archive/refs/tags/v1.7.1.tar.gz>
- **最后更新:** 2026-06-26T12:32:11Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- gup (cli)
- gup (别名)

## 依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.7.1
- 管理器更新时间: 2026-06-26
- 本地数据: OK
- 上游仓库: https://github.com/nao1215/gup
- 检测到的最新版本: v1.7.1 (当前)
## 项目历史与用法

gup is a Go command-line tool that manages binaries installed into `$GOBIN` or `$GOPATH/bin`, filling the gap between `go install` as an installer and the day-to-day need to list, update, pin, export, import, remove, and migrate global Go tools.

### 项目历史

The repository was created in February 2022 and an early v0.7.0 release was published in March 2022. The README frames the project around a specific Go packaging pain point: `go install` places binaries in the user's Go binary directory but does not keep a manifest or provide update management.

Over time, gup grew beyond parallel updates into a small toolset manager. Its README documents pinning exact versions, exporting and importing a `gup.json` tool manifest, migrating tools to a new binary directory, JSON output for automation, and release integrity metadata such as signed checksums, SBOMs, and build provenance.

### 采用历史

The README documents installation through Homebrew, WinGet, mise, Nix, aqua, release packages, release binaries, and `go install`, showing that gup is packaged both as a Go-native tool and as an OS/package-manager utility.

Its adoption is tied to the Go module era, where many developers install developer tools with `go install module@version` but still want package-manager-like operations over the resulting binaries.

### 使用方式

Typical usage is `gup update` to update every managed binary, `gup check` to report available updates, `gup list` to show installed command metadata, `gup pin` and `gup unpin` to control versions, and `gup export` or `gup import` to reproduce a tool set.

The `gup.json` manifest matters for packaging culture because it gives global Go tools a portable inventory that `go install` itself does not maintain.

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

gup is package-nerd catnip because it treats `$GOBIN` like a lightweight package database without trying to replace Go's module installer. It adds just enough inventory, version selection, and parallel update behavior around existing Go commands.

It also highlights the difference between language-level installers and system package managers: `go install` can build a binary, but tools like gup provide the maintenance loop users expect from package managers.

### 时间线

- 2022: GitHub repository created.
- 2022: v0.7.0 release published.

### Related projects

- The Go command provides the `go install` behavior that gup wraps.
- aqua, mise, Nix, Homebrew, and WinGet are documented installation paths.
- Tools such as gopls, golangci-lint, and lazygit are representative binaries users manage under `$GOBIN`.

### 来源

- <https://api.github.com/repos/nao1215/gup>
- <https://api.github.com/repos/nao1215/gup/releases?per_page=100>
- <https://github.com/nao1215/gup>
- <https://raw.githubusercontent.com/nao1215/gup/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: gup.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gup
- **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 - gup: normalized package name match | nixpkgs package indexes: pkgs/by-name/gu/gup/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - nao1215.gup: normalized package name match | Windows Package Manager source index: nao1215.gup from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [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/) - Runtime dependency declared by Homebrew.
- [volt](https://www.automicvault.com/zh-hans/pkg/brew/volt/) - Shares av.db curated category or tags: cli, developer-tools, go, package-management.
- [akku](https://www.automicvault.com/zh-hans/pkg/brew/akku/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [bower](https://www.automicvault.com/zh-hans/pkg/brew/bower/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [brew-gem](https://www.automicvault.com/zh-hans/pkg/brew/brew-gem/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [cabal-install](https://www.automicvault.com/zh-hans/pkg/brew/cabal-install/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [cargo-binstall](https://www.automicvault.com/zh-hans/pkg/brew/cargo-binstall/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [chsrc](https://www.automicvault.com/zh-hans/pkg/brew/chsrc/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [clib](https://www.automicvault.com/zh-hans/pkg/brew/clib/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [eget](https://www.automicvault.com/zh-hans/pkg/brew/eget/) - Local package facts share a topical domain. Shared terms: binaries, cli, developer, developer-tools, install.

## Combined YAML source

View the package source record on GitHub. [combined/gup.yml](https://github.com/automic-vault/db/blob/main/combined/gup.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
