The Bitwarden Blog
The Bitwarden Command-line Tool
May 23, 2018
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.
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.
You can get started with the Bitwarden CLI by reviewing the detailed documentation available in our help center:
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 install -g @bitwarden/cli
> choco install bitwarden-cli
$ brew install bitwarden-cli
$ sudo snap install bw
Back to Blog