Install and verify
#The CLI is one JavaScript file for Node.js 22 or newer. Download it from ozvault.lol/cli, check its SHA-256 against the value on that page and run it with node. It is not on npm yet.
curl -fsSL https://ozvault.lol/cli/ozvault.mjs -o ozvault.mjs
node ozvault.mjs --helpSign in and set your keys
#ozvault login saves an API key in your user configuration folder, readable only by you. The vault key comes from OZVAULT_VAULT_KEY, --vault-key-file, or a file path saved with ozvault login --vault-key-file. ozvault keygen creates a new vault key.
ozvault login
ozvault keygen -o ~/.ozvault-key
ozvault login --vault-key-file ~/.ozvault-keyEveryday commands
#Buckets can be given by name or ID. Most commands accept --json for scripts.
| Command | What it does |
|---|---|
| ozvault upload FILE --bucket B [--to PATH] | Encrypt and upload |
| ozvault download ID -o FILE | Download, verify and decrypt |
| ozvault share ID --expires 7d --ask-password | Create a share link |
| ozvault get LINK | Download a share link |
| ozvault backup FILE --bucket B --name N --keep 14 | Rotating backup |
| ozvault restore-backup --bucket B --name N | Restore the newest backup |
| ozvault init nextjs | Create a project from a template |
Clear documentation is part of the product.