# lastpass/lastpass-cli

LastPass command line interface tool

Repository: https://github.com/lastpass/lastpass-cli
Canonical: https://ross.abutalabs.com/products/lastpass-cli
Language: C
License: GPL-2.0
License Family: copyleft
Last push: 2025-04-22T13:42:32+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 17, release rhythm 8, longevity 100
- inputs: {"age_days": 4333, "days_push": 498, "days_rel": 657, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2910, forks 303 (observed 2026-08-28T04:07:29.205872+00:00)

## What it is
lastpass-cli is an official command line interface to the LastPass password manager, written in C. It lets users log in, list, add, edit, copy, and sync vault credentials from the terminal on GNU/Linux, macOS, and Cygwin.

## Use cases
- access lastpass passwords from the terminal
- fetch a password in a shell script
- copy a vault credential to the clipboard from the command line
- manage lastpass vault entries without the browser
- script password retrieval for automation
- list and edit lastpass notes from cli

## When to choose
- you use LastPass and want terminal or scripted access to your vault
- you need to inject credentials into shell scripts or CI jobs
- you prefer a lightweight C tool over browser extensions

## When to avoid
- you don't use LastPass as your password manager
- you want a fully offline, self-hosted password store like pass or KeePassXC
- you need a GUI password manager experience

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, security, cryptography, developer-tools
- domain: security, developer-tools, privacy
- platform: cli, windows
- tags: password-manager, lastpass, secrets-management, credential-management, password-store, command-line, linux, macos

## Member repositories
- lastpass/lastpass-cli (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:29.205872+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:34:18.401496+00:00, confidence not recorded.
  - readme: https://github.com/lastpass/lastpass-cli (fetched 2026-08-28T04:07:29.205872+00:00, sha 198cf8b2b258)
- Data as of 2026-08-30T08:39:29.467469+00:00.
