# Install gpg-tui with Homebrew, apk, MacPorts, Nix, pacman, zypper

Manage your GnuPG keys with ease! Version 0.11.2 via Homebrew; verified 2026-06-15.

## Install

```sh
sudo av install brew:gpg-tui
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gpg-tui
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gpg-tui
```

  Evidence: MacPorts ports tree: security/gpg-tui/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gpg-tui
```

  Evidence: Alpine Linux edge package indexes: gpg-tui from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#gpg-tui
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gp/gpg-tui/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gpg-tui
```

  Evidence: Arch Linux sync databases: gpg-tui from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gpg-tui
```

  Evidence: openSUSE Tumbleweed package metadata: gpg-tui from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:gpg-tui
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gpg-tui>
- **Version:** 0.11.2
- **Source summary:** Manage your GnuPG keys with ease!
- **Homepage:** <https://blog.orhun.dev/introducing-gpg-tui/>
- **Repository:** <https://github.com/orhun/gpg-tui>
- **Upstream docs:** <https://github.com/orhun/gpg-tui#readme>
- **License:** MIT
- **Source archive:** <https://github.com/orhun/gpg-tui/archive/refs/tags/v0.11.2.tar.gz>
- **Last updated:** 2026-06-15T10:20:17-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gpg-tui (cli)
- gpg-tui (alias)

## Dependencies

- gnupg
- gpgme
- libgpg-error
- libxcb

## Build dependencies

- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.11.2
- Package-manager updated: 2026-06-15
- Local data: ok
- Upstream repository: https://github.com/orhun/gpg-tui
- Upstream latest detected: v0.11.2 (current)
## Project history and usage

gpg-tui is a Rust terminal user interface for GnuPG key management. It wraps common key operations in an interactive TUI while falling back to the `gpg` command for operations that are better left to GnuPG's own menus or command surface.

### Project history

The project was introduced publicly by Orhun Parmaksiz in May 2021 as a terminal interface for managing GnuPG keys. Its changelog records 0.1.0 on 2021-05-28, followed immediately by packaging and documentation work.

The README defines a deliberately bounded scope: ease listing, exporting, signing, editing, importing, sending, generating, deleting, and refreshing keys, without trying to cover every GnuPG feature.

### Adoption history

gpg-tui spread through Rust and Unix package channels rather than through GnuPG itself. The README documents installation through Cargo, Arch, Alpine, Gentoo overlays, Homebrew, Docker, FreeBSD, and NetBSD.

Its packaging story was part of the project from the first week: the changelog records Arch instructions on 2021-05-29 and Homebrew, FreeBSD, and NetBSD instructions on 2021-06-02.

### How it is used

The TUI is used by pointing it at a GnuPG home directory or running it against the user's normal keyring. The README example includes launching against `/etc/pacman.d/gnupg`, which shows the tool's usefulness for inspecting package-manager keyrings as well as personal keys.

The project depends on GnuPG, GPGME, libgpg-error, and Rust. It uses GPGME where that API fits and executes `gpg` for cases such as refresh operations or menu-driven behavior.

### Why package nerds care

For package-oriented users, gpg-tui sits in a useful gap between raw `gpg --list-keys` output and full graphical frontends. It makes trust, signing, import, export, and key inspection easier inside SSH sessions, recovery shells, and minimal desktops.

It also shows the Rust TUI wave entering security tooling: a modern terminal UI layered on top of conservative cryptographic plumbing instead of replacing the underlying OpenPGP implementation.

### Timeline

- 2021-05-28: 0.1.0 initial release recorded in the changelog.
- 2021-05-29: Arch Linux installation instructions added.
- 2021-06-02: Homebrew, FreeBSD, and NetBSD installation instructions added.
- 2022-05-27: 0.9.0 added custom key bindings.
- 2024-03-17: 0.11.0 added a log view pane.
- 2026-04-23: 0.11.2 updated dependencies and minimum supported Rust version.

### Related projects

- Related tools include GnuPG itself, GPGME, pinentry, GPA, Kleopatra, and other terminal UI tools used to manage cryptographic workflows.

### Sources

- <https://blog.orhun.dev/introducing-gpg-tui/>
- <https://github.com/orhun/gpg-tui>
- <https://github.com/orhun/gpg-tui/blob/master/CHANGELOG.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Nix - gpg-tui: normalized package name match | nixpkgs package indexes: pkgs/by-name/gp/gpg-tui/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gpg-tui - 0.11.2-r0: normalized package name match | Alpine Linux edge package indexes: gpg-tui from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal user interface for GnuPG | https://github.com/orhun/gpg-tui
- apk - gpg-tui-bash-completion - 0.11.2-r0: normalized package name match | Alpine Linux edge package indexes: gpg-tui-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for gpg-tui | https://github.com/orhun/gpg-tui
- apk - gpg-tui-doc - 0.11.2-r0: normalized package name match | Alpine Linux edge package indexes: gpg-tui-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal user interface for GnuPG (documentation) | https://github.com/orhun/gpg-tui
- apk - gpg-tui-fish-completion - 0.11.2-r0: normalized package name match | Alpine Linux edge package indexes: gpg-tui-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for gpg-tui | https://github.com/orhun/gpg-tui
- apk - gpg-tui-zsh-completion - 0.11.2-r0: normalized package name match | Alpine Linux edge package indexes: gpg-tui-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for gpg-tui | https://github.com/orhun/gpg-tui
- pacman - gpg-tui - 0.11.2-1: normalized package name match | Arch Linux sync databases: gpg-tui from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A terminal user interface for GnuPG | https://github.com/orhun/gpg-tui
- zypper - gpg-tui - 0.11.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: gpg-tui from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Terminal User Interface for GnuPG | https://github.com/orhun/gpg-tui
- MacPorts - gpg-tui: normalized package name match | MacPorts ports tree: security/gpg-tui/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [gnupg](https://www.automicvault.com/pkg/brew/gnupg/) - Runtime dependency declared by Homebrew.
- [gpgme](https://www.automicvault.com/pkg/brew/gpgme/) - Runtime dependency declared by Homebrew.
- [libgpg-error](https://www.automicvault.com/pkg/brew/libgpg-error/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [gpa](https://www.automicvault.com/pkg/brew/gpa/) - Shares av.db curated category or tags: cli, cryptography, gnupg, key-management, openpgp.
- [hopenpgp-tools](https://www.automicvault.com/pkg/brew/hopenpgp-tools/) - Shares av.db curated category or tags: cli, cryptography, key-management, openpgp, security.
- [paperkey](https://www.automicvault.com/pkg/brew/paperkey/) - Shares av.db curated category or tags: cli, cryptography, gnupg, openpgp, security.
- [sequoia-chameleon-gnupg](https://www.automicvault.com/pkg/brew/sequoia-chameleon-gnupg/) - Shares av.db curated category or tags: cli, cryptography, gnupg, openpgp, security.
- [gnupg-pkcs11-scd](https://www.automicvault.com/pkg/brew/gnupg-pkcs11-scd/) - Shares av.db curated category or tags: cli, cryptography, gnupg, security.
- [pgpdump](https://www.automicvault.com/pkg/brew/pgpdump/) - Shares av.db curated category or tags: cli, cryptography, openpgp, security.

## Combined YAML source

View the package source record on GitHub. [combined/gpg-tui.yml](https://github.com/automic-vault/db/blob/main/combined/gpg-tui.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
