Show pageOld revisionsBacklinksAdd to bookExport to PDFBack to top You've loaded an old revision of the document! If you save it, you will create a new version with this data. Media Files====== Bitwarden command line tool ====== ===== Install ===== <file> curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt update && sudo apt install -y nodejs sudo npm install -g npm@latest sudo npm install -g @bitwarden/cli bw --version </file> ===== Configuration ===== # set the CLI's server to your Vaultwarden <file> bw config server https://vault.seanys.com bw login securedata@seanys.com ? Master password: [hidden] You are logged in! export BW_SESSION="$(bw unlock --raw)" </file> ===== Manage folders ===== List: <file> bw list folders --raw | jq -r '.[] | select(.id != null) | "\(.id)\t\(.name)"' </file> Delete all folders: <file> bw list folders --raw \ | jq -r '.[] | select(.id != null) | .id' \ | while IFS= read -r id; do bw --session "$BW_SESSION" delete folder "$id" done </file> SavePreviewCancel Edit summary bitwardern_command_line_tool.1758426346.txt.gz Last modified: 2025/09/21 11:45by admin