To compile from source, you will need Go installed and properly configured (including a GOPATH environment variable set), as well as a copy of git in your PATH.
Clone the Vault repository from GitHub into your GOPATH:
Bootstrap the project. This will download and compile libraries and tools needed to compile Vault:
makebootstrap
Build Vault for your current system and put the binary in ./bin/ (relative to the git checkout). The make dev target is just a shortcut that builds vhsm for only your local build environment (no cross-compiled targets). The make dev-uibuilds the target with the UI.
makedev
To verify Vault is installed, run vhsm -h on your system. You should see the help output. If you are executing it from the command line, ensure it is on your PATH to avoid receiving an error that Vault is not found.
Download the CLI
Sometimes it may be handy to work with the command line.
Download the Linux CLI from the vHSM server
wget https://vhsm.enclaive.cloud/static/vhsm
To ensure easy compatibility, enclaive vHSM works seamlessly with the HashiCorp Vault CLI. Please follow the instructions in the Official Packaging Guide to install the HashiCorp GPG key, verify the key's fingerprint, and install Vault.
Ubuntu/Debian
Update the package manager and install GPG and wget.