lpass

Command-line interface for the LastPass password manager. More information: <https://github.com/lastpass/lastpass-cli>.

Install

All systems
curl cmd.cat/lpass.sh
Debian Debian
apt-get install lastpass-cli
Ubuntu
apt-get install lastpass-cli
Alpine
apk add lastpass-cli
Arch Arch Linux
pacman -S lastpass-cli
image/svg+xml Kali Linux
apt-get install lastpass-cli
Fedora
dnf install lastpass-cli
Windows (WSL2)
sudo apt-get update sudo apt-get install lastpass-cli
OS X
brew install lastpass-cli
Raspbian
apt-get install lastpass-cli
Docker
docker run cmd.cat/lpass lpass powered by Commando

Command-line interface for the LastPass password manager. More information: <https://github.com/lastpass/lastpass-cli>.

  • 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 gmail.com with the identifier `myinbox` and add to LastPass:
    lpass generate --username username --url gmail.com myinbox password_length
  • Show password for a specified entry:
    lpass show myinbox --password

© tl;dr; authors and contributors