# gopass

> Command-line password manager compatible with pass, supporting GPG encryption, Git versioning, and team collaboration

Stars: 7.3k · Language: Go · License: MIT · Categories: Productivity

- Repository: https://github.com/gopasspw/gopass
- Website: https://www.gopass.pw/
- Page: https://www.trmn.sh/tools/gopass

## Install

- Homebrew: `brew install gopass`
- Debian: `curl https://packages.gopass.pw/repos/gopass/gopass-archive-keyring.gpg | sudo tee /usr/share/keyrings/gopass-archive-keyring.gpg >/dev/null`
- Debian: `cat << EOF | sudo tee /etc/apt/sources.list.d/gopass.sources`
- Debian: `Types: deb`
- Debian: `URIs: https://packages.gopass.pw/repos/gopass`
- Debian: `Suites: stable`
- Debian: `Architectures: all amd64 arm64 armhf`
- Debian: `Components: main`
- Debian: `Signed-By: /usr/share/keyrings/gopass-archive-keyring.gpg`
- Debian: `EOF`
- Debian: `sudo apt update`
- Debian: `sudo apt install gopass gopass-archive-keyring`
- Go: `go install github.com/gopasspw/gopass@latest`

## Overview

gopass is a password manager that serves as a drop-in replacement for the standard UNIX password manager `pass`. It encrypts credentials using GPG by default and stores them in Git repositories for versioning, though it supports alternative encryption backends like age and storage backends like fossil. The tool operates entirely from the command line and can function completely offline or integrate with remote Git repositories for team password sharing.

The primary workflow involves commands like `gopass create` to add new secrets, `gopass show -c` to copy passwords to clipboard, and `gopass sync` to synchronize with remote repositories. gopass includes a setup wizard (`gopass setup`) that guides users through initial configuration, including GPG key selection and Git remote configuration. It also features a REPL mode for interactive use and search functionality to find entries across the password store.

Designed for distributed development teams, gopass works across Linux, macOS, BSD, and Windows. It can integrate with browsers for web credential management and supports multiple password stores through a mount system. The tool requires minimal dependencies but typically operates with GPG for encryption and Git for storage, making it suitable for CI/CD systems, air-gapped environments, and team-based credential management workflows.

### Installation

```bash
# via Homebrew
brew install gopass
```

```bash
# via Debian
curl https://packages.gopass.pw/repos/gopass/gopass-archive-keyring.gpg | sudo tee /usr/share/keyrings/gopass-archive-keyring.gpg >/dev/null
cat << EOF | sudo tee /etc/apt/sources.list.d/gopass.sources
Types: deb
URIs: https://packages.gopass.pw/repos/gopass
Suites: stable
Architectures: all amd64 arm64 armhf
Components: main
Signed-By: /usr/share/keyrings/gopass-archive-keyring.gpg
EOF
sudo apt update
sudo apt install gopass gopass-archive-keyring
```

```bash
# via Go
go install github.com/gopasspw/gopass@latest
```

![gopass screenshot](https://media.trmn.sh/cached/b0faec2ec0bfacc775abe4d744c5b9a7fbba7419e3b0ce4067e54d7a5e751861.png)

## Alternatives

- [Ticker](https://www.trmn.sh/tools/ticker.md): Terminal stock, crypto, and derivatives price watcher with position tracking, cost basis lots, currency conversion, and grouped watchlists. (Go, 6.3k stars)
- [Pop](https://www.trmn.sh/tools/pop.md): Send emails from the terminal via a TUI or CLI flags, using Resend or SMTP, with Markdown bodies, attachments, and AI agent skill support. (Go, 2.9k stars)
- [Slides](https://www.trmn.sh/tools/slides.md): Terminal presentation tool that renders markdown files as slides, with in-slide code execution, pre-processing, live reload, and SSH serving. (Go, 11.7k stars)
- [circumflex](https://www.trmn.sh/tools/circumflex.md): Terminal-based Hacker News browser with vim-style navigation and built-in article reader (Go, 2.1k stars)
- [cheat](https://www.trmn.sh/tools/cheat.md): CLI tool for creating and viewing interactive command-line cheatsheets with tagging and search capabilities (Go, 13.5k stars)

---

Canonical: https://www.trmn.sh/tools/gopass
