Install GitVault CLI
Free and open source. Installs the gitvault binary and its short alias gv. Requires git and the GitHub CLI (gh).
Quick install script
Checks that git and gh are installed, installs the prebuilt release binary (or builds with Cargo if needed), and links gv.
$ gh auth login $ curl -fsSL https://raw.githubusercontent.com/adhil72/gitvault/main/scripts/install.sh | sh # optional: enable in-shell loading $ eval "$(gitvault shell-init)"
Verify downloads with sha256sum -c SHA256SUMS --ignore-missing · SHA256SUMS · All releases
Prerequisites
Git on your PATH
GitVault uses git directly for commits, pull --rebase, push, and versioned history inside your hidden vault store.
GitHub CLI (gh) signed in
Run gh auth login once. GitVault requires gh to create, clone, and authenticate with your private gitvault-store repository.
A master password
Never leaves your device. Derives an Argon2id key to protect your vault key, paired with a one-time recovery key.
Build from source
GitVault v2 is a standalone, single-crate Rust CLI (MIT licensed). Only stable Rust, git, and gh are required.
$ cargo install --git https://github.com/adhil72/gitvault --locked # or clone and run the local installer: $ git clone https://github.com/adhil72/gitvault.git $ cd gitvault && ./scripts/install.sh