The Bitwarden Blog

The Bitwarden Command-line Tool

KS
authored by:Kyle Spearrin
posted:
Link Copied!
  1. Blog
  2. The Bitwarden Command-line Tool

Our stance has always been that if you are using a password management tool correctly you have to be able to access it from all of your devices. That's why we've always been committed to making sure we provide high-quality, official Bitwarden applications for a wide range of devices and platforms.

Today we're happy to announce the official release of the Bitwarden Command-line Interface (CLI) tool, available on Windows, macOS, and Linux distributions.

Official release of the Bitwarden Command-line Interface (CLI) tool, available on Windows, macOS, and Linux distributions

The Possibilities Are Endless

The Bitwarden CLI opens up a powerful API into your Bitwarden vault. Users that spend time on the command-line can now quickly and easily access all functions that are available in other Bitwarden client applications. Commands such as searching your vault, fetching login credentials & TOTP codes, checking passwords against the HIBP Pwned Passwords service, creating & editing logins, generating secure passwords, and much more are all exposed through the Bitwarden CLI. Users can now write powerful scripts that interact with their vault, or even go as far as creating a full-featured client application of their own that is powered by the Bitwarden CLI. We're excited to see what the community will create and share using this powerful tool.

Get Started

You can get started with the Bitwarden CLI by reviewing the detailed documentation available in our help center:

https://bitwarden.com/help/article/cli/

In addition to the platform specific binaries (see documentation above for download links), the Bitwarden CLI is available through a variety of package managers.

NPM

$ npm install -g @bitwarden/cli

Chocolatey

> choco install bitwarden-cli

Homebrew

$ brew install bitwarden-cli

Snap

$ sudo snap install bw

We hope you enjoy using this new addition to the Bitwarden client application family. As always, if you have any questions or feedback, please feel free to contact us.

Product UpdatesDevelopersPassword Manager
Link Copied!
Back to Blog

Get started with Bitwarden today.

Create your free account

Level up your cybersecurity knowledge.

Subscribe to the newsletter.


© 2024 Bitwarden, Inc. Terms Privacy Cookie Settings Sitemap

This site is available in English.
Go to EnglishStay Here