mcpField
B
Bitwarden CLI

Bitwarden CLI

Official
bitwarden.comDeveloper Tools14.1kbwUpdated today
RepositoryVisit website

About Bitwarden CLI

Bitwarden CLI enables programmatic access to passwords, notes, and other vault items stored in a Bitwarden account. It supports authentication, vault queries, and organizational management, with JSON output suitable for scripting and automation.

Key features

  1. 01Log in and unlock vault with credentials or session tokens
  2. 02Query and retrieve vault items by name, type or ID
  3. 03Export vault data and manage collections across organizations

Use cases

  1. 01Fetch database credentials and API keys for deployment scripts
  2. 02Automate secret rotation and synchronization across infrastructure
  3. 03Integrate password management into CI/CD pipelines

Install

Pick your OS or package manager and run the command in a terminal.

$
npm install -g @bitwarden/cli

Once installed, runbw --versionto confirm it works.

Example commands

Common commands in the order you’d use them.

01
bw login
02
bw unlock
03
bw list items

Details

From the project README

Bitwarden

GitHub Workflow browser build on main GitHub Workflow CLI build on main GitHub Workflow desktop build on main GitHub Workflow web build on main


Bitwarden Client Applications

This repository houses all Bitwarden client applications except the mobile applications (iOS | android).

Please refer to the Clients section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.

Related projects:

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Contribute

Code contributions are welcome! Please commit any pull requests against the main branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.

Comments

Markdown supported