How to install and use the Bitwarden command line tool

著者:Jack Wallen
Link Copied!

Bitwarden is one of the most robust, well-designed password managers on the planet. Not only is it a great solution for individuals but also for teams and other types of organizations. But there's another reason why this open-source password manager makes for a great addition to anyone's security toolkit… it offers a command-line version as well.

Imagine, you use Bitwarden on your desktops as your go-to password manager. But you also work with a lot of GUI-less servers, or you may just simply prefer the command line over graphical tools. If that's you, you'll be happy to know Bitwarden has you covered. And although the command-line version of the tool isn't quite as user-friendly as the GUI, it's still a valuable option for those who work within a terminal.

The command-line version of Bitwarden can be installed on Linux, macOS, and Windows by way of either a native installer, a snap package, via npm, or the Chocolatey package manager for Windows. I'm going to walk you through the steps to install the Bitwarden CLI tool on Linux Server 22.04 and then show you how to create a new entry and then view a password for an entry.

The main caveat to using the Bitwarden CLI tool is that adding items can be very complicated and doesn't always work as expected. Because of that, I highly recommend you use it only to view items and not add them.

Get Started with Bitwarden

Ready to start using Bitwarden? Quickly sign up for a free individual account, or keep your team safe online by initiating a free business trial today.


Jack Wallenは、受賞歴のある作家であり、オープンソース技術の熱心なサポーターでもあります。1990年代からTechRepublic、CNET、ZDNet、The New Stack、Tech Targetなどの出版物でオープンソース、Linux、セキュリティなどについて寄稿しており、さらに50以上の小説を執筆しています。

Link Copied!

Get started with Bitwarden today.

Create your free account

© 2023 Bitwarden, Inc.利用規約プライバシーポリシーサイトマップ