This tutorial demonstrate the Vault installation on Ubuntu. For other operating systems, refer to Install Vault.
Enter the following command into the terminal, or click on the command (
⮐) to automatically copy it into the terminal and execute to downloads the Vault binary for Linux.
First, add the HashiCorp GPG key.
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
Add the official HashiCorp Linux repository.
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
Finally, update and install Vault.
sudo apt-get update && sudo apt-get install vault
Execute the following command to verify the vault version.