All apps/Bitwarden CLI

Bitwarden CLI

bitwarden-cli
Runs as bw|macOS, Linux, Windows|bitwarden.com

Autocomplete

Fig spec, with what the manifest adds · 45 subcommands · 9 options
Published once and never changed; check the digest before caching
sha256
97577b743adc91c17adaddbd2d05eadbf64bb91ff379ce5850deb392ce7617c5
Size
53987 bytes
Subcommands45 subcommands
bw login
Log into a user account
bw logout
Log out of the current user account
bw lock
Lock the vault and destroy active session keys
bw unlock
Unlock the vault and return a new session key
bw sync
Pull the latest vault data from server
bw generate
Generate a password/passphrase
bw generate -p
Generate a passphrase
bw encode
Base 64 encode stdin
bw config
Configure CLI settings
bw update
Check for updates
bw completion
Generate shell completions
bw status
Show server details, last sync time & date, user information, and vault status
bw serve
Start a RESTful API webserver
bw list
Retrieves an array of objects (items, folders, collections, org-collections, org-members, organizations) from your Vault
bw get
Get an object from the vault
bw get template
Type of template to get
bw get attachment
bw create
Create an object in the vault
bw edit
Edit an object from the vault
bw delete
Delete an object from the vault
bw restore
Restores an object from the trash
bw move
Transfers a Vault item to an Organization
bw confirm
Confirm an object to the organization
bw import
Import vault data from a file
bw export
Export vault data to a CSV or JSON file
bw share
--DEPRECATED-- Move an item to an organization
bw send
Work with Bitwarden Sends. A Send can be quickly created using this command or subcommands can be used to fine-tune the Send
bw send list
List all the Sends owned by you
bw send template
Get json templates for Send objects
bw send get
Get Sends owned by you
bw send receive
Access a Bitwarden Send from a url
bw send create
Create a Send
bw send edit
Edit a Send
bw send remove-password
Removes the saved password from a Send
bw send delete
Delete a Send
bw send help
Display help for the Send command
bw device-approval
Manage device approval requests sent to organizations that use SSO with trusted devices
bw device-approval list
List all pending requests for an organisation
bw device-approval approve
Approve a pending request
bw device-approval approve-all
Approve all pending requests for an organisation
bw device-approval deny
Deny a pending request
bw device-approval deny-all
Deny all pending requests for an organisation
bw device-approval help
Display help for command
bw receive
Access a Bitwarden Send from a url
bw help
Display help for the Bitwarden CLI tool
OptionsOn bw itself
--pretty
Format output. JSON is tabbed with two spaces
--raw
Return raw output instead of a descriptive message
--response
Return a JSON formatted version of response output
--cleanexit
Exit with a success exit code (0) unless an error is thrown
--quiet
Don't return anything to stdout
--nointeraction
Do not prompt for interactive user input
--session
Pass session key instead of reading from env <session>
-v--version
Output BW CLI tool version number
-h--help
Display help for command