RBW(1)
okay bestie, you just pulled up RBW(1) β that's rbw, section 1, General Commands Manual π grab a snack, this is gonna be good.
π NAME π
rbw β the unofficial command line client for Bitwarden β¨
Like. it's Bitwarden. but in your terminal. no browser, no extension, just vibes π
β¨ SYNOPSIS β¨
rbw command [options]
π¦ DESCRIPTION π¦
okay so rbw is an unofficial command line client for Bitwarden ποΈ and the way it works is genuinely iconic: it runs a background agent (rbw-agent) that just... keeps your decrypted vault chilling in memory π
which means?? you do not have to type your master password for every single operation. no cap. it's the same energy as ssh-agent(1) or gpg-agent(1), if you know those besties β and if you don't, you're about to, iykyk π«Ά
πΈ COMMANDS πΈ
π§ Account Management
registerβ register this device with the Bitwarden server π± when you're on the official Bitwarden server, you need to do this before your first login, otherwise the bot detection gets suspicious of you π (rude). use your personal API key credentials.loginβ log in to the Bitwarden server πunlockβ unlock the local Bitwarden database πunlockedβ check whether the local Bitwarden database is currently unlocked right now, at this very moment πlockβ lock the password database π (self care, honestly)syncβ update the local copy of the Bitwarden database from the server πpurgeβ remove the local copy of the password database ποΈ it's giving "we're done here"stop-agentβ terminate the background agent π bye bestie
π Viewing Entries
list[--fields fields]β list every entry in the local Bitwarden database π--fieldstakes a comma-separated list ofid,name,user,folder,type. default isname. alias:lsβ¨getname[user]β display the password for the given entry π[--field field]prints a specific field instead of the password;[--full]also prints the notes π alias:showsearchtermβ search for entries whose name, username, or URI matchestermπcodename[user]β display the current TOTP authenticator code for the given entry β±οΈ alias:totphistoryname[user]β view the password history for the given entry π°οΈ the lore
βοΈ Modifying Entries
addname[user]β add a new password entry β it opens$VISUALor$EDITORso you can type in the password and the notes. the first line gets saved as the password; everything after that becomes the notes βοΈgeneratelen[name [user]]β generate a fresh random password of lengthlenπ² if you give it aname, it saves that password to the database too.[--no-symbols]generates without special characters,[--only-numbers]generates a numeric password,[--nonconfusables]avoids visually similar characters, and[--diceware]generates a passphrase oflenwords from the EFF word list π alias:geneditname[user]β modify an existing entry π οΈ opens$VISUALor$EDITORwith the current password and notes loaded upremovename[user]β remove an entry from the database β alias:rm
βοΈ Configuration
config showβ display all your current configuration settings π₯οΈ the whole situationconfig setkeyvalueβ set a configuration option ποΈ valid keys are:emailβ Bitwarden account email address π§base_urlβ base URL for a self-hosted Bitwarden server πidentity_urlβ identity service URL (overridesbase_url) πͺͺui_urlβ web vault UI URL (overridesbase_url) πnotifications_urlβ notifications service URL (overridesbase_url) πlock_timeoutβ seconds of inactivity before the agent locks the vault. default:3600β³sync_intervalβ seconds between automatic syncs. default:3600. set it to0to disable πpinentryβ pinentry program to use for password prompts. default:pinentryπclient_cert_pathβ path to a PEM client certificate for mutual TLS π
π Shell Completions
gen-completionsshellβ print a shell completion script to stdout π¨οΈ supported shells:bash,zsh,fish,powershell,elvish,nushell,figπ lowkey such a serve
π ENVIRONMENT π
VISUAL,EDITORβ the editor used by theaddandeditcommands βοΈRBW_AGENTβ path to a customrbw-agent(1)binary π οΈ
π FILES π
$XDG_CONFIG_HOME/rbw/config.jsonβ the configuration file π defaults to~/.config/rbw/config.json$XDG_DATA_HOME/rbw/β vault data and device identifier ποΈ defaults to~/.local/share/rbw/$XDG_RUNTIME_DIR/rbw/β agent socket and PID file π
π EXAMPLES π
log in and unlock the vault:
$ rbw login
$ rbw unlock
list all entries:
$ rbw list
get the password for an entry:
$ rbw get github.com
get the password for a specific user:
$ rbw get github.com myuser
add a new entry:
$ rbw add github.com myuser
generate and store a 20-character password:
$ rbw generate 20 github.com myuser
get a TOTP code:
$ rbw code github.com
use a self-hosted server:
$ rbw config set base_url https://bitwarden.example.com
π₯ SEE ALSO π₯
rbw-agent(1), pinentry(1), gpg-agent(1), ssh-agent(1) β go read those too, they're the supporting cast π«Ά
π AUTHORS π
rbw was written by Jesse Luehrs <doy@tozt.net> π
this manual page was written by Nadzeya Hutsko <nadzya.info@gmail.com> π
and that's the whole thing bestie, you ate that π this page came to you straight from Debian, dated April 16, 2026 β go forth and manage your passwords, main character π β¨
π¦ where this page comes from
- ubuntu stonking: rbw 1.15.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms