kpcli is a command-line password manager for working with KeePass database files. It provides an interactive shell in which users can navigate their password collection, manage entries and modify database contents using commands similar to those found in a conventional Unix shell.
The application is useful when a graphical password manager is unavailable or inconvenient, particularly when connecting to remote Linux machines over SSH. It also provides a way to work with existing KeePass databases without converting their contents into another password-store format.
kpcli supports both the older KeePass database format and modern KDBX files through Perl libraries. Its interface will feel familiar to users comfortable with directory navigation, command histories and text-based tools.
This is free and open source software.
Key Features
- Supports KeePass KDB and KDBX databases through the File::KeePass and File::KDBX Perl modules.
- Provides an interactive shell with commands such as ls, cd and mkdir for navigating password groups.
- Allows users to create, edit, copy, clone, move and delete password entries.
- Supports searches across stored entries, including searching titles and additional fields.
- Generates passwords using configurable generation methods and password lengths.
- Supports key files as an additional means of protecting access to encrypted databases.
- Can display and modify KeePass entry fields, including usernames, URLs, notes and custom string values.
- Supports entry tags and file attachments where the database format and available Perl modules permit them.
- Provides commands for importing entries and exporting them to other KeePass database files.
- Offers read-only database access and configurable inactivity timeouts.
- Includes database history and recovery-related functionality, including support for the KeePass recycle bin.
Website: kpcli.sourceforge.io
Support:
Developer: Lester Hightower
License: Artistic License

kpcli is written in Perl. Learn Perl with our recommended free books and free tutorials.
Related Software
| Terminal-Based Password Managers | |
|---|---|
| gopass | Simple but powerful password manager for your terminal |
| pass | Simple password manager using gpg and ordinary unix directories |
| prs | Secure, fast and convenient password manager for the terminal |
| Teller | Multi provider secret management tool |
| Bitwarden CLI | Password management for individuals, teams, and business organizations |
| ripasso | Simple command-line password manager using pass |
| Rooster | Simple password manager for geeks |
| passage | age-backed password manager |
| seniorpw | Password manager using age |
| pa | Simple password manager. Encryption support is provided via age |
| SpicyPass | Lightweight password manager |
| rbw | Unofficial Bitwarden CLI |
| MUTN | Self-hosted, SSH-synchronized password and note manager |
| pago | Go-based command-line password manager |
| kyp | Stores credentials in an encrypted SQLite database |
| Steelsafe | TUI password manager written in Rust |
| keydex | Password manager for KeePass databases |
| kpxhs | Keepass database interactive TUI viewer |
| kpcli | Command line interface to KeePass database files |
| cruxpass | Minimal command-line password manager written in C |
| vd | Terminal password manager with built-in OTP authentication |
| Puny Manager | Minimal, local, CLI password manager |
| privage | Password manager and general file encryption tool that uses age |
| passfzf | Simple fzf wrapper for pass |
| oxipass-tui | Terminal-based manager for securely storing encrypted passwords |
| cpass | Console UI for pass |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.