Forrest logo
tool overview
On this page you find all important commands for the CLI tool pass. If the command you are looking for is missing please ask our AI.

pass

Pass is a command line tool used for managing passwords and other sensitive information. It provides a secure and convenient way to store and retrieve passwords, allowing users to easily manage their credentials. Pass encrypts each password with a GPG key, ensuring that the sensitive data is protected. It follows the Unix philosophy and uses simple text files for storing the passwords. The passwords are organized in a directory tree structure, similar to a file system, making it easy to navigate and find specific credentials. Pass also allows users to generate random and secure passwords. It supports automatic password completion and copying to the clipboard, making it convenient for usage with other command line tools. Pass can be integrated with other password managers, allowing for easy migration or synchronization of passwords between systems. It is an open-source tool and has a vibrant community of contributors, ensuring regular improvements and updates. Overall, Pass is a powerful and reliable command line tool for managing passwords securely.

List of commands for pass:

  • pass-otp:tldr:09ae7 pass-otp: Display a QR code using the OTP token stored in a pass file.
    $ pass otp uri --qrcode ${path-to-pass}
    try on your machine
    explain this command
  • pass-otp:tldr:0e634 pass-otp: Prompt for an otpauth URI token and create a new pass file.
    $ pass otp insert ${path-to-pass}
    try on your machine
    explain this command
  • pass-otp:tldr:1333d pass-otp: Copy and don't print a 2FA code using the OTP token in a pass file.
    $ pass otp --clip ${path-to-pass}
    try on your machine
    explain this command
  • pass-otp:tldr:813b7 pass-otp: Prompt for an otpauth URI token and append to an existing pass file.
    $ pass otp append ${path-to-pass}
    try on your machine
    explain this command
  • pass-otp:tldr:9373a pass-otp: Print a 2FA code using the OTP token in a pass file.
    $ pass otp ${path-to-pass}
    try on your machine
    explain this command
  • pass-otp:tldr:ff162 pass-otp: Prompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file.
    $ pass otp append --secret --issuer ${issuer_name} --account ${account_name} ${path-to-pass}
    try on your machine
    explain this command
  • pass:tldr:0353e pass: Initialize (or re-encrypt) the storage using one or more GPG IDs.
    $ pass init ${gpg_id_1} ${gpg_id_2}
    try on your machine
    explain this command
  • pass:tldr:1a1dc pass: List the whole store tree.
    $ pass
    try on your machine
    explain this command
  • pass:tldr:26a10 pass: Generate a new random password with a given length, and copy it to the clipboard.
    $ pass generate -c ${path-to-data} ${num}
    try on your machine
    explain this command
  • pass:tldr:3273a pass: Save a new password and additional information (press Ctrl + D on a new line to complete).
    $ pass insert --multiline ${path-to-data}
    try on your machine
    explain this command
  • pass:tldr:343da pass: Edit an entry.
    $ pass edit ${path-to-data}
    try on your machine
    explain this command
  • pass:tldr:9f96d pass: Initialize a new Git repository (any changes done by pass will be committed automatically).
    $ pass git init
    try on your machine
    explain this command
  • pass:tldr:b1ed7 pass: Copy a password (first line of the data file) to the clipboard.
    $ pass -c ${path-to-data}
    try on your machine
    explain this command
  • pass:tldr:d3aaa pass: Run a Git command on behalf of the password storage.
    $ pass git ${command}
    try on your machine
    explain this command
tool overview