Skip to main content
Vault requires .NET 9.0 or later to be installed on your system.

Prerequisites

Before installing Vault, ensure you have .NET 9.0 or later installed:
dotnet --version
If you need to install .NET, visit the official .NET download page.

Installation Methods

Updating Vault

To update Vault to the latest version:
dotnet tool update --global Vault.10.25.25

Uninstalling Vault

If you need to uninstall Vault:
dotnet tool uninstall --global Vault.10.25.25
Uninstalling the tool does not delete your vault database. Your data will remain in the .kvstore directory in your home folder. To completely remove all data, manually delete the .kvstore directory after uninstalling.

Troubleshooting

Command not found after installation

If the vault command is not recognized after installation, you may need to add the .NET tools directory to your PATH:
$env:PATH += ";$env:USERPROFILE\.dotnet\tools"
To make this permanent, add the export command to your shell profile (~/.bashrc, ~/.zshrc, etc.).

Permission errors on Linux/macOS

If you encounter permission errors when creating the database, ensure your home directory has proper write permissions:
ls -ld ~

.NET version mismatch

Vault requires .NET 9.0. If you have an older version installed, you’ll see an error during installation. Update to .NET 9.0 or later:
dotnet --version
Visit dotnet.microsoft.com to download the latest version.

Next Steps

Now that Vault is installed, learn how to use it:

Quickstart Guide

Get started with Vault in just a few minutes

Build docs developers (and LLMs) love