keepassxc-cli
command-line interface for KeePassXC password manager
TLDR
List entries in database
$ keepassxc-cli ls [database.kdbx]
Show entry details$ keepassxc-cli show [database.kdbx] [entry]
Copy password to clipboard$ keepassxc-cli clip [database.kdbx] [entry]
Add new entry$ keepassxc-cli add [database.kdbx] [entry]
Generate password$ keepassxc-cli generate -L [20]
Create new database$ keepassxc-cli db-create [database.kdbx]
Search entries$ keepassxc-cli search [database.kdbx] [query]
SYNOPSIS
keepassxc-cli command [options]
DESCRIPTION
keepassxc-cli is the command-line interface for KeePassXC password manager. It allows querying and modifying KeePass database entries (.kdbx format) from the terminal. Supports password generation, clipboard operations, and database management.
PARAMETERS
ls database [group]
List entries in database or group.show database entry
Show entry details.clip database entry
Copy password to clipboard.add database entry
Add new entry.edit database entry
Edit existing entry.rm database entry
Remove entry.generate
Generate random password.db-create database
Create new database.search database term
Search entries.analyze database
Analyze password strength.
CAVEATS
Avoid using --password on shared systems. Close the GUI before making CLI edits to prevent database corruption.
