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 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/lastpass/lastpass-cli
安装元数据
| 软件包键 | brew:lastpass-cli |
|---|---|
| 版本 | 1.6.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lastpass-cli |
| 主页 | https://github.com/lastpass/lastpass-cli |
| 仓库 | https://github.com/lastpass/lastpass-cli |
| 上游文档 | https://github.com/lastpass/lastpass-cli#readme |
| 许可证 | GPL-2.0-or-later WITH openvpn-openssl-exception |
| 源码归档 | https://github.com/lastpass/lastpass-cli/releases/download/v1.6.1/lastpass-cli-1.6.1.tar.gz |
| 最后更新 | 2026-06-24T13:25:45+02:00 |
| Pulse | updated |
| 依赖 | curl, openssl@3, pinentry |
| 构建依赖 | asciidoc, cmake, docbook-xsl, pkgconf |
| macOS 提供的库 | libxml2, libxslt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lastpass-cli |
| Version Scheme | 0 |
| Revision | 3 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 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-3.fc44
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.