All apps/LastPass CLI

LastPass CLI

lpass

lpass is a simple command line interface to LastPass.

Runs as lpass|macOS, Linux|github.com

Command form

ai-draft · 3 tasks · 12 fields

Look up and list LastPass entries. Pick a job below; add, edit, remove, sharing and import/export are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui lpass

lpass login

Log in
Log inExample values, fixed in this page — nothing here reaches a terminal
Basic
Account email*
string
Trust this device (skip multifactor next time)
--trust
TasksEach one presets the form for one job
Log in
usernametrust
ParametersOnly these flags are editable in the form
Account email
string · positional 0
Trust this device (skip multifactor next time)
boolean
--trust

lpass ls

List entries
List entriesExample values, fixed in this page — nothing here reaches a terminal
Basic
Group
string
Show last modification time
--long
TasksEach one presets the form for one job
List a group
grouplong
ParametersOnly these flags are editable in the form
Group
string · positional 0
Show last modification time
boolean
--long-l
Show last used time
boolean
-u

lpass show

Show an entry
Show an entryExample values, fixed in this page — nothing here reaches a terminal
Basic
Entry name or ID*
string
Only the password
--password
Copy to clipboard
--clip
TasksEach one presets the form for one job
Copy password
entrypasswordclip
ParametersOnly these flags are editable in the form
Entry name or ID
string · positional 0
Only the password
boolean
--password
Only the username
boolean
--username
Only the URL
boolean
--url
Only the notes
boolean
--notes
Copy to clipboard
boolean
--clip-c
JSON output
boolean
--json-j
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed lpass against its version. A form that does not match your version is not offered.