LinuxCommandLibrary

rbw

Unofficial Bitwarden CLI password manager

TLDR

Login to vault

$ rbw login
copy
Unlock vault
$ rbw unlock
copy
Get password
$ rbw get [entry-name]
copy
Get username
$ rbw get --field username [entry-name]
copy
List entries
$ rbw list
copy
Search entries
$ rbw list | grep [pattern]
copy
Sync vault
$ rbw sync
copy
Add entry
$ rbw add [entry-name]
copy
Generate password
$ rbw generate [entry-name] [username]
copy

SYNOPSIS

rbw command [options] [args]

DESCRIPTION

rbw is an unofficial command-line Bitwarden client designed for Unix-style workflows, outputting passwords directly to stdout for easy integration with scripts, dmenu, rofi, and other tools. It communicates with Bitwarden servers through a background agent daemon (rbw-agent) that caches the decrypted vault locally for fast retrieval.
The get command retrieves passwords by entry name, while the --field flag accesses specific fields like usernames, TOTP codes, or custom notes. The generate command creates random passwords and stores them directly in the vault. Vault synchronization with rbw sync keeps the local cache current with the server.

PARAMETERS

login

Authenticate.
unlock
Unlock vault.
lock
Lock vault.
sync
Sync with server.
get NAME
Get password.
list
List entries.
add NAME
Add entry.
edit NAME
Edit entry.
remove NAME
Delete entry.
generate NAME USER
Generate password.
--field FIELD
Specific field.
--folder FOLDER
In folder.

CONFIGURATION

~/.config/rbw/config.json

Client configuration specifying the Bitwarden server URL, email address, lock timeout, and pinentry program for master password entry.
rbw-agent
Background daemon that maintains the decrypted vault in memory. Started automatically on first rbw command and locks after the configured timeout.

CAVEATS

Unofficial client. Some Bitwarden features not supported. Requires rbw-agent daemon.

HISTORY

rbw was created as a command-line Bitwarden client optimized for Unix workflows. It emphasizes scriptability and speed over feature completeness.

SEE ALSO

pass(1), bw(1), gopass(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community