Home · About · Notes · Links · Login

pass UNIX Password Manager

CodeTool • 2023-11-20

Pass: The Standard Unix Password Manager1 is for the CLI. This is how to set it up. You need to have GPG installed first.

# install pass
$ brew install pass

# get your GPG ID (last 8 characters of the fingerprint) seen under
# $ gpg --list-keys
# $ gpg --list-signatures

# initialize pass with your GPG ID
$ pass init YOUR_GPG_ID

# create git repo in /Users/[username]/.password-store/.git/
$ pass git init

# add your remote and push for the first time
$ pass git remote add origin some_domain.com:pass-store
$ pass git push -u --all

Usage:

# multiline
$ pass insert -m Some/Organization
# add password in first line
# other info in next line(s), then Ctrl+d to save

$ pass ls
$ pass search [term]

# to retrieve password and copy to clipboard; can use autocomplete
$ pass -c [item]

© 2025 by Indro De · Imprint

Limited Mobile Edition