# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 pass

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

## 安装

```sh
sudo av install brew:pass
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pass
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pass
```

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

### Linux

- apk (92%):

```sh
sudo apk add pass
```

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

- Debian apt (92%):

```sh
sudo apt install pass
```

  证据: Debian stable package indexes: pass from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install pass
```

  证据: Fedora Rawhide package metadata: pass 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#pass
```

  证据: nixpkgs package indexes: pass from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S pass
```

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

## 软件包事实

- **软件包键:** brew:pass
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pass>
- **版本:** 1.7.4
- **来源摘要:** Password manager
- **主页:** <https://www.passwordstore.org/>
- **上游文档:** <https://www.passwordstore.org/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://git.zx2c4.com/password-store/snapshot/password-store-1.7.4.tar.xz>
- **最后更新:** 2026-06-22T14:05:49-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pass (cli)
- pass (别名)

## 依赖

- gnu-getopt
- gnupg
- qrencode
- tree

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.7.4
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://www.passwordstore.org/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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.


## Credential files

- Unix: ~/.password-store
## 源数据库详情

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

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

- Debian apt - pass - 1.7.4-7: normalized package name match | Debian stable package indexes: pass from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight directory-based password manager | https://www.passwordstore.org/
- Nix - pass: normalized package name match | nixpkgs package indexes: pass from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - pass - 1.7.4-6: normalized package name match | Ubuntu 24.04 LTS package indexes: pass from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight directory-based password manager | https://www.passwordstore.org/
- apk - pass - 1.7.4-r3: normalized package name match | Alpine Linux edge package indexes: pass from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Stores, retrieves, generates, and synchronizes passwords securely | https://www.passwordstore.org
- apk - pass-bash-completion - 1.7.4-r3: normalized package name match | Alpine Linux edge package indexes: pass-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for pass | https://www.passwordstore.org
- apk - pass-contrib - 1.7.4-r3: normalized package name match | Alpine Linux edge package indexes: pass-contrib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | contrib files for pass | https://www.passwordstore.org
- apk - pass-doc - 1.7.4-r3: normalized package name match | Alpine Linux edge package indexes: pass-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Stores, retrieves, generates, and synchronizes passwords securely (documentation) | https://www.passwordstore.org
- apk - pass-fish-completion - 1.7.4-r3: normalized package name match | Alpine Linux edge package indexes: pass-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for pass | https://www.passwordstore.org
- apk - pass-zsh-completion - 1.7.4-r3: normalized package name match | Alpine Linux edge package indexes: pass-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for pass | https://www.passwordstore.org
- dnf - pass - 1.7.4-20.fc45: normalized package name match | Fedora Rawhide package metadata: pass from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A password manager using standard Unix tools | http://zx2c4.com/projects/password-store/
- dnf - passmenu - 1.7.4-20.fc45: normalized package name match | Fedora Rawhide package metadata: passmenu from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A dmenu based interface to pass. | http://zx2c4.com/projects/password-store/
- pacman - pass - 1.7.4-7: normalized package name match | Arch Linux sync databases: pass from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Stores, retrieves, generates, and synchronizes passwords securely | https://www.passwordstore.org/
- MacPorts - pass: normalized package name match | MacPorts ports tree: security/pass/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [gnupg](https://pkg.so/zh-hans/brew/gnupg/) - Runtime dependency declared by Homebrew.
- [tree](https://pkg.so/zh-hans/brew/tree/) - Runtime dependency declared by Homebrew.
- [qrencode](https://pkg.so/zh-hans/brew/qrencode/) - Runtime dependency declared by Homebrew.
- [pass-git-helper](https://pkg.so/zh-hans/brew/pass-git-helper/) - Popular package that depends on this formula.
- [pass-import](https://pkg.so/zh-hans/brew/pass-import/) - Shares the same upstream homepage.
- [prs](https://pkg.so/zh-hans/brew/prs/) - Shares pkgdb curated category or tags: cli, gpg, password-management, password-manager, security.
- [lastpass-cli](https://pkg.so/zh-hans/brew/lastpass-cli/) - Shares pkgdb curated category or tags: cli, password-management, password-manager, security.
- [rbw](https://pkg.so/zh-hans/brew/rbw/) - Shares pkgdb curated category or tags: cli, password-management, password-manager, security.
- [kpcli](https://pkg.so/zh-hans/brew/kpcli/) - Shares pkgdb curated category or tags: cli, password-management, password-manager, security.
- [enpass-cli](https://pkg.so/zh-hans/brew/enpass-cli/) - Shares pkgdb curated category or tags: cli, password-management, password-manager, security.
- [clipsafe](https://pkg.so/zh-hans/brew/clipsafe/) - Shares pkgdb curated category or tags: cli, password-management, password-manager, security.
- [pwsafe](https://pkg.so/zh-hans/brew/pwsafe/) - Shares pkgdb curated category or tags: cli, password-management, password-manager, security.
- [gopass](https://pkg.so/zh-hans/brew/gopass/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, gnupg, gpg, manager, password.

## Combined YAML source

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


## 来源

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