macOS
brew install lastpass-clilocal Homebrew formula metadata
sudo port install lastpass-cliMacPorts ports tree · security/lastpass-cli/Portfile · 来源: api.github.com
安装
brew install lastpass-clilocal Homebrew formula metadata
sudo port install lastpass-cliMacPorts ports tree · security/lastpass-cli/Portfile · 来源: api.github.com
sudo apk add lastpass-cliAlpine Linux edge package indexes · lastpass-cli · 来源: dl-cdn.alpinelinux.org
sudo dnf install lastpass-cliFedora Rawhide package metadata · lastpass-cli · 来源: dl.fedoraproject.org
nix profile install nixpkgs#lastpass-clinixpkgs package indexes · pkgs/by-name/la/lastpass-cli/package.nix · 来源: api.github.com
sudo apt install lastpass-cliUbuntu 24.04 LTS package indexes · lastpass-cli · 来源: archive.ubuntu.com
概览
LastPass command-line interface tool
历史
LastPass CLI is the official open-source command-line client for LastPass vault data. It gives terminal users the `lpass` command for listing, showing, generating, adding, editing, and syncing secrets without using the browser extension or web UI.
LastPass announced the open-sourced command-line application on 2014-10-22, the same date recorded as the GitHub repository creation date. The README identifies the project as a LastPass.com command-line interface and carries a 2014-2019 LastPass copyright notice.
The project was designed for GNU/Linux, Cygwin, and Mac OS X, with dependencies such as OpenSSL or LibreSSL, libcurl, libxml2, and optional clipboard helpers. Its manpage-oriented documentation and `make install-doc` target reflect a Unix command-line packaging style rather than an app-store distribution model.
Package adoption followed quickly in Unix ecosystems. The README documents installation through Arch, Fedora, EPEL, Debian/Ubuntu build dependencies, Gentoo, Homebrew, MacPorts, FreeBSD ports, and Cygwin, making `lpass` a common terminal bridge for LastPass users on developer workstations and servers.
From a package-manager perspective, LastPass CLI is notable because it packages a proprietary SaaS password manager workflow as a conventional open-source CLI with shell completion, manpages, and data/cache locations that can be managed by Unix package systems.
Typical use starts with `lpass login`, then commands such as `lpass ls`, `lpass show`, `lpass generate`, `lpass edit`, and clipboard-oriented password retrieval. The documented storage paths include encrypted vault blobs and session tokens, so the tool sits directly in the secrets-management path for shell scripts and interactive terminal use.
LastPass CLI matters to package nerds because it is a real-world example of a vendor SaaS client being distributed like a normal Unix utility: source on GitHub, package recipes across distributions, optional manpage generation, and XDG-style data/config support.
It also exposed the tension around packaging cloud credentials locally: the package is small and scriptable, but its cached blob and session token files are security-sensitive runtime state rather than ordinary configuration.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$LPASS_HOME/env$XDG_CONFIG_HOME/lpass/env~/.lpass/envCredential-bearing paths to review before unattended agent runs.
$LPASS_HOME/blob$LPASS_HOME/session_token$XDG_DATA_HOME/lpass/blob$XDG_DATA_HOME/lpass/session_token~/.lpass/blob~/.lpass/session_token可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lpass | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:lastpass-cli |
|---|---|
| 版本 | 1.6.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/lastpass/lastpass-cli |
| 仓库 | https://github.com/lastpass/lastpass-cli |
| 最后更新 | 2026-06-24T13:25:45+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lastpass-cli
nix profile install nixpkgs#lastpass-clilastpass-cli 1.3.7-1build3
command line interface to LastPass.com
https://github.com/lastpass/lastpass-cli
sudo apt install lastpass-clilastpass-cli 1.6.1-r1
LastPass command line interface tool
sudo apk add lastpass-clilastpass-cli-bash-completion 1.6.1-r1
Bash completions for lastpass-cli
sudo apk add lastpass-cli-bash-completionlastpass-cli-doc 1.6.1-r1
LastPass command line interface tool (documentation)
sudo apk add lastpass-cli-doclastpass-cli-fish-completion 1.6.1-r1
Fish completions for lastpass-cli
sudo apk add lastpass-cli-fish-completionlastpass-cli-zsh-completion 1.6.1-r1
Zsh completions for lastpass-cli
sudo apk add lastpass-cli-zsh-completionlastpass-cli 1.6.1-6.fc45
Command line interface to LastPass.com
https://github.com/LastPass/lastpass-cli
sudo dnf install lastpass-clilastpass-cli
sudo port install lastpass-cli来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.