Link Search Menu Expand Document


Command-line interface for the LastPass password manager. More information:

  • Log in to your LastPass account, by entering your master password when prompted:

lpass login {{username}}

  • Show login status:

lpass status

  • List all sites grouped by category:

lpass ls

  • Generate a new password for with the identifier myinbox and add to LastPass:

lpass generate --username {{username}} --url {{}} {{myinbox}} {{password_length}}

  • Show password for a specified entry:

lpass show {{myinbox}} --password