← 返回命令列表

Linux command

bw 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Login

bw login

Unlock

bw unlock

List

bw list items

Get

bw get password [example.com]

Create

bw create item

Sync

bw sync

说明

bw is the official command-line interface for Bitwarden, an open-source password manager. It enables accessing and managing passwords, notes, and credentials from the terminal or in scripts. The tool provides full access to Bitwarden vaults for automation and integration purposes.

参数

--session _key_
Session key for authentication
--organizationid _id_
Organization ID filter
--pretty
Pretty-print JSON output
--raw
Return raw value only

FAQ

What is the bw command used for?

bw is the official command-line interface for Bitwarden, an open-source password manager. It enables accessing and managing passwords, notes, and credentials from the terminal or in scripts. The tool provides full access to Bitwarden vaults for automation and integration purposes.

How do I run a basic bw example?

Run `bw login` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --session _key_ do in bw?

Session key for authentication