Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, apt, dnf, Nix 安装 kpcli

查看 kpcli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kpcli

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install kpcli

Debian stable package indexes · kpcli · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install kpcli

Fedora Rawhide package metadata · kpcli · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#kpcli

nixpkgs package indexes · pkgs/by-name/kp/kpcli/package.nix · 来源: api.github.com

概览

软件包摘要

Command-line interface to KeePass database files

命令和别名

  • kpcli

历史

项目历史与用法

kpcli is a Perl command-line and interactive-shell client for KeePass database files. It gives Unix-like terminal users a way to inspect and edit KeePass 1.x and 2.x password stores without opening a graphical KeePass application.

项目历史

Lester Hightower created kpcli around a practical migration need: the official project page says it was inspired by use of the Ked Password Manager CLI, `kedpm -c`, combined with a need to migrate to KeePass. That origin explains kpcli's shape as an interactive shell rather than only a collection of one-shot subcommands.

The project was hosted on SourceForge, with a homepage, file area, wiki, tickets, and source-code browser. Its Perl licensing followed Perl's own terms, and the tool grew support for KeePass 1.x and 2.x database files.

采用历史

kpcli became a packaged utility across Unix-like distributions because it filled a narrow but persistent need: terminal access to KeePass databases. The official installation wiki noted on April 17, 2023 that most Linux and BSD distributions packaged a 3.x version, while users needing 4.x or newer for KDBX4 support might need to install it manually.

Package-manager support in Homebrew, Debian, Ubuntu, Fedora, Nix, Chocolatey, and other ecosystems reflects its status as a small security-adjacent utility rather than a large password-manager platform.

使用方式

Users run `kpcli` to open a KeePass database in an interactive shell, then browse, search, copy, create, edit, or otherwise manage entries from a terminal. The package is most useful for SSH sessions, scriptable maintenance workflows, and people who keep KeePass databases synced but prefer command-line interaction.

为什么软件包爱好者会关心

kpcli is package-nerd interesting because it is a thin terminal layer over a widely used encrypted password database format. It represents a common packaging niche: a small CLI that makes a GUI-centered file format usable on servers, in remote shells, and in dotfile-heavy workflows.

时间线

  • 2012-10-13: kpcli 1.5 appeared in downstream manpage history with interactive help and password-generation improvements.
  • 2023-04-17: The official installation wiki documented broad Linux and BSD packaging of kpcli 3.x.
  • 2023-08-21: SourceForge project review notes associated kpcli 4.0 with full KDBX support through File::KDBX.

Related projects

  • kpcli is related to KeePass, KeePassX, File::KeePass, File::KDBX, Ked Password Manager, and other command-line password-manager tools such as pass.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:database

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kpclicli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本4.1.3
管理器更新时间2026-06-25
本地数据OK
上游not checked
检测到的最新版本未检测到

https://kpcli.sourceforge.io/

安装元数据

软件包元数据

软件包键brew:kpcli
版本4.1.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/kpcli
主页https://kpcli.sourceforge.io/
仓库https://sourceforge.net/p/kpcli/code
上游文档https://kpcli.sourceforge.io/
许可证Artistic-1.0-Perl OR GPL-1.0-or-later
源码归档https://downloads.sourceforge.net/project/kpcli/kpcli-4.1.3.pl
最后更新2026-06-25T13:37:47+02:00
Pulseupdated
依赖readline
macOS 提供的库ncurses, perl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekpcli
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

kpcli 3.8.1-1.1

command line interface to KeePassX password manager databases

https://sourceforge.net/projects/kpcli/

sudo apt install kpcli
  • Section: utils
  • Architecture: all
  • 8 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Kpcli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: kpcli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

kpcli

nix profile install nixpkgs#kpcli
  • normalized package name match
  • 匹配方式:Kpcli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kp/kpcli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

kpcli 3.8.1-1.1

command line interface to KeePassX password manager databases

https://sourceforge.net/projects/kpcli/

sudo apt install kpcli
  • Section: universe/utils
  • Architecture: all
  • 8 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Kpcli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: kpcli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

kpcli 4.1.3-3.fc44

KeePass Command Line Interface (CLI) / interactive shell

http://kpcli.sourceforge.net/

sudo dnf install kpcli
  • License: GPL-1.0-or-later OR Artistic-1.0-Perl
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: kpcli
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kpcli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: kpcli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
Chocolatey95%

kpcli

choco install kpcli
  • normalized package name match
  • 匹配方式:Kpcli
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: kpcli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kb5001567'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment