# 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. Also installable with nix: nix profile install nixpkgs#gpg-tui.

## 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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:gpg-tui
- **Package manager:** Homebrew
- **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>
- **Last updated:** 2026-06-15T10:20:17-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- gpg-tui (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.11.2
## 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

## 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.3: normalized package name match | openSUSE Tumbleweed package metadata: gpg-tui from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
