Skip to content
vaultlint

CLI Quick Start

Run vaultlint where your vault already lives. Audits, edits, and conversions happen locally, and a dry run lets you review the plan before saving changes.

Install the published package with Node.js 22.12 or newer, or run it once without installing. Pick your package manager; the choice is remembered across the site.

Terminal window
npm install -g vaultlint
# or run once
npx vaultlint --help

Export an unencrypted backup from a supported password manager or browser, then place it in the repository folder or note its full path. vaultlint supports 20 formats across 13 password manager and browser families, including JSON, CSV, KeePass XML, and 1Password 1PUX. Encrypted .kdbx, .bramble, and locked JSON exports are rejected.

See supported formats for the complete list.

Start with a dry run. It reports findings without changing your source file or writing an output vault:

Terminal window
vaultlint -i vault.json --audit --dry-run

For a quick overview of item counts and vault health, use:

Terminal window
bun start -- -i vault.json --stats

Write changes to a new file so your original export stays available as a backup. This example merges duplicates, replaces weak and reused passwords, and writes a sanitized Markdown report:

Terminal window
bun start -- -i vault.json -o vault-clean.json \
--auto-merge \
--fix-weak-passwords \
--fix-reused-passwords \
--export-report vault-report.md
Inspect

Find weak passwords

List only entries with weak passwords. Password values stay masked in terminal output.

bun start – -i vault.json –list –filter weak
Convert

Move between formats

Auto-detect the source format and choose the destination from its filename.

bun start – -i lastpass.csv -o vault.1pux –auto-merge
Edit

Preview a batch change

Use regex replacements on a selected field, then remove –dry-run to save the output.

bun start – -i vault.json -o updated.json \ –batch-edit –field uri \ –pattern ‘^http://’ –replacement ‘https://’ \ –dry-run

Use --interactive to walk through common tasks from a guided terminal menu:

Terminal window
bun start -- -i vault.json --interactive

Or start the local Web UI from the same CLI. It listens on 127.0.0.1 by default:

Terminal window
bun start -- --ui

For supported password managers, vaultlint can read a live vault through the vendor’s own CLI. Sign in and unlock with that vendor first; vaultlint keeps the export in memory and does not ask for your master password.

Terminal window
# Check the available integrations
bun start -- --list-cli-providers
# Audit a live Bitwarden vault without writing changes
bun start -- --from-cli bitwarden --audit

Pushing changes back is available for Bitwarden. vaultlint previews the write plan, checks for changes made since the vault was read, and sends item data over the CLI’s standard input. Removed entries go to Bitwarden Trash. Read the CLI reference before using --push-to-cli.

Vault parsing, auditing, duplicate merging, and file conversion run locally. Network checks such as HIBP breach lookups, redirect checks, mobile URI validation, and AI categorization are opt-in. Passwords are masked in CLI tables and sanitized reports.

To see every option and its defaults, open the CLI reference. For a guided walkthrough of both interfaces, see Getting Started.