# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper, scoop, winget 安装 gopass

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

## 安装

```sh
sudo av install brew:gopass
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gopass
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gopass
```

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

### Linux

- apk (92%):

```sh
sudo apk add gopass
```

  证据: Alpine Linux edge package indexes: gopass from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install gopass
```

  证据: Fedora Rawhide package metadata: gopass from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gopass
```

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

- pacman (92%):

```sh
sudo pacman -S gopass
```

  证据: Arch Linux sync databases: gopass from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install gopass
```

  证据: Ubuntu 24.04 LTS package indexes: gopass from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install gopass
```

  证据: openSUSE Tumbleweed package metadata: gopass from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/gopass
```

  证据: Scoop official bucket manifest trees: bucket/gopass.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id gopass.gopass -e
```

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

## 软件包事实

- **软件包键:** brew:gopass
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gopass>
- **版本:** 1.16.1
- **来源摘要:** Slightly more awesome Standard Unix Password Manager for Teams
- **主页:** <https://www.gopass.pw/>
- **仓库:** <https://github.com/gopasspw/gopass>
- **上游文档:** <https://www.gopass.pw/>
- **许可证:** MIT
- **源码归档:** <https://github.com/gopasspw/gopass/releases/download/v1.16.1/gopass-1.16.1.tar.gz>
- **最后更新:** 2026-06-22T14:03:38-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gopass (cli)
- gopass (别名)

## 依赖

- gnupg
- terminal-notifier

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.16.1
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/gopasspw/gopass
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

gopass is a command-line password manager positioned as a more team-oriented take on the standard Unix password manager, pass. By default it encrypts secrets with GPG and versions the store in git, while also supporting other crypto and storage backends.

### 项目历史

The gopasspw/gopass repository was created in February 2017 and published a v1.0.0 release the same day. Its README describes the project as a drop-in replacement for pass, built from experience with globally distributed development teams.

The early 1.x release line moved quickly through setup, team, mount, sync, and browser-oriented workflows. The README shows the project broadening from a Unix-style password-store clone into a cross-platform secrets manager with Linux, macOS, BSD, and Windows installation paths.

### 采用历史

gopass adoption is strongly tied to package managers and team workflows. The README documents Homebrew, MacPorts, Debian-style packages from the gopass package repository, Fedora, Arch, WinGet, Chocolatey, Scoop, FreeBSD, OpenBSD, Alpine, source builds, and manual release downloads.

The project also grew a browser-integration side through gopass-jsonapi and gopassbridge, letting users avoid the command line for routine website logins while keeping the git/GPG-backed store model.

### 使用方式

A typical user runs `gopass setup` to create a root store, choose encryption, optionally configure a git remote, and write configuration under the user's gopass config directory. Daily commands include `gopass create`, `gopass ls`, `gopass show -c`, `gopass rm`, `gopass sync`, and `gopass mounts`.

The default store path documented by the README is `$HOME/.local/share/gopass/stores/root`, with GPG encryption and git storage. The README also notes that age encryption and fossil storage are available alternatives.

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

gopass is significant to package nerds because it preserves the Unix password-store mental model while making it more installable and cross-platform for teams. It is a CLI-first security tool whose real-world value depends on package-manager trust, GPG/git availability, shell completion, and browser-native messaging helpers.

It is also a case study in a project name colliding with distro namespaces: the README warns Debian and Ubuntu users not to install an unrelated `gopass` package from official repositories, then points them to the gopass project's own apt repository.

### 时间线

- 2017: GitHub repository created under gopasspw/gopass.
- 2017: v1.0.0 release published on GitHub Releases.
- 2017: v1.1.0 and v1.2.0 releases followed during the first months of public development.
- 2017: v1.3.x releases continued the early stable CLI line.
- 2020s: README documents broad package-manager installation across Unix-like systems and Windows, plus browser integration through gopass-jsonapi.

### Related projects

- The README relates gopass to pass, GPG, git, age, fossil, gopass-jsonapi, gopassbridge, gpg4win, package managers such as Homebrew and Scoop, and browser integrations.

### 来源

- <https://api.github.com/repos/gopasspw/gopass>
- <https://github.com/gopasspw/gopass>
- <https://github.com/gopasspw/gopass#readme>
- <https://github.com/gopasspw/gopass/releases>
- <https://www.gopass.pw/>


## 安全说明

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: ~/.config/gopass/config, /etc/gopass/config, <STORE_DIR>/config, <STORE_DIR>/config.worktree
- Windows: %APPDATA%\gopass\config

## Credential files

- Unix: ~/.local/share/gopass/stores/root, ~/.password-store
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gopass
- **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 - gopass: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/gopass/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - golang-github-aviau-gopass-dev - 1.5.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: golang-github-aviau-gopass-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pass implementation in Go - dev package | https://github.com/aviau/gopass
- Ubuntu apt - gopass - 1.5.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: gopass from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pass implementation in Go | https://github.com/aviau/gopass
- apk - gopass - 1.16.1-r6: normalized package name match | Alpine Linux edge package indexes: gopass from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The slightly more awesome Standard Unix Password Manager for Teams. Written in Go. | https://www.gopass.pw
- apk - gopass-bash-completion - 1.16.1-r6: normalized package name match | Alpine Linux edge package indexes: gopass-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for gopass | https://www.gopass.pw
- apk - gopass-doc - 1.16.1-r6: normalized package name match | Alpine Linux edge package indexes: gopass-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The slightly more awesome Standard Unix Password Manager for Teams. Written in Go. (documentation) | https://www.gopass.pw
- apk - gopass-fish-completion - 1.16.1-r6: normalized package name match | Alpine Linux edge package indexes: gopass-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for gopass | https://www.gopass.pw
- apk - gopass-zsh-completion - 1.16.1-r6: normalized package name match | Alpine Linux edge package indexes: gopass-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for gopass | https://www.gopass.pw
- dnf - gopass - 1.16.1-3.fc44: normalized package name match | Fedora Rawhide package metadata: gopass from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The slightly more awesome standard unix password manager for teams | https://github.com/gopasspw/gopass
- pacman - gopass - 1.16.1-2: normalized package name match | Arch Linux sync databases: gopass from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The slightly more awesome standard unix password manager for teams. | https://github.com/gopasspw/gopass
- zypper - gopass - 1.16.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gopass from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The slightly more awesome standard unix password manager for teams | https://www.gopass.pw/
- zypper - gopass-bash-completion - 1.16.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gopass-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash completion for gopass | https://www.gopass.pw/
- zypper - gopass-fish-completion - 1.16.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gopass-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish completion for gopass | https://www.gopass.pw/
- zypper - gopass-impersonate-pass - 1.16.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gopass-impersonate-pass from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Provide /usr/bin/pass as drop-in replacement | https://www.gopass.pw/
- zypper - gopass-zsh-completion - 1.16.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gopass-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh completion for gopass | https://www.gopass.pw/
- MacPorts - gopass: normalized package name match | MacPorts ports tree: security/gopass/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [gnupg](https://pkg.so/zh-hans/brew/gnupg/) - Runtime dependency declared by Homebrew.
- [terminal-notifier](https://pkg.so/zh-hans/brew/terminal-notifier/) - Runtime dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [gopass-jsonapi](https://pkg.so/zh-hans/brew/gopass-jsonapi/) - Popular package that depends on this formula.
- [git-secret](https://pkg.so/zh-hans/brew/git-secret/) - Shares pkgdb curated category or tags: cli, git, gpg, secrets, security.
- [git-crypt](https://pkg.so/zh-hans/brew/git-crypt/) - Shares pkgdb curated category or tags: cli, git, secrets, security.
- [pass](https://pkg.so/zh-hans/brew/pass/) - Shares pkgdb curated category or tags: cli, gpg, password-manager, security.
- [lastpass-cli](https://pkg.so/zh-hans/brew/lastpass-cli/) - Shares pkgdb curated category or tags: cli, password-manager, secrets, security.
- [transcrypt](https://pkg.so/zh-hans/brew/transcrypt/) - Shares pkgdb curated category or tags: cli, git, secrets, security.
- [proton-pass-cli](https://pkg.so/zh-hans/brew/proton-pass-cli/) - Shares pkgdb curated category or tags: cli, password-manager, secrets, security.
- [tartufo](https://pkg.so/zh-hans/brew/tartufo/) - Shares pkgdb curated category or tags: cli, git, secrets, security.
- [blackbox](https://pkg.so/zh-hans/brew/blackbox/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, git, gnupg, gpg, secrets.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
