Install¶
You can find the pre-compiled binaries on the release page https://github.com/vdbulcke/hc-vault-util/releases
Getting Latest Version¶
TAG=$(curl https://api.github.com/repos/vdbulcke/hc-vault-util/releases/latest |jq .tag_name -r )
VERSION=$(echo $TAG | cut -d 'v' -f 2)
Info
You will need jq
and curl
in your PATH
MacOS¶
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/hc-vault-util/releases/download/${TAG}/hc-vault-util_${VERSION}_Darwin_x86_64.tar.gz"
- Extract Binary:
tar xzf "hc-vault-util_${VERSION}_Darwin_x86_64.tar.gz"
- Check Version:
./hc-vault-util version
- Install in your
PATH
:Orsudo install hc-vault-util /usr/local/bin/
sudo mv hc-vault-util /usr/local/bin/
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/hc-vault-util/releases/download/${TAG}/hc-vault-util_${VERSION}_Darwin_amr64.tar.gz"
- Extract Binary:
tar xzf "hc-vault-util_${VERSION}_Darwin_amr64.tar.gz"
- Check Version:
./hc-vault-util version
- Install in your
PATH
:Orsudo install hc-vault-util /usr/local/bin/
sudo mv hc-vault-util /usr/local/bin/
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/hc-vault-util/releases/download/${TAG}/hc-vault-util_${VERSION}_Darwin_all.tar.gz"
- Extract Binary:
tar xzf "hc-vault-util_${VERSION}_Darwin_all.tar.gz"
- Check Version:
./hc-vault-util version
- Install in your
PATH
:Orsudo install hc-vault-util /usr/local/bin/
sudo mv hc-vault-util /usr/local/bin/
Linux¶
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/hc-vault-util/releases/download/${TAG}/hc-vault-util_${VERSION}_Linux_x86_64.tar.gz"
- Extract Binary:
tar xzf "hc-vault-util_${VERSION}_Linux_x86_64.tar.gz"
- Check Version:
./hc-vault-util version
- Install in your
PATH
:Orsudo install hc-vault-util /usr/local/bin/
sudo mv hc-vault-util /usr/local/bin/
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/hc-vault-util/releases/download/${TAG}/hc-vault-util_${VERSION}_Linux_amr64.tar.gz"
- Extract Binary:
tar xzf "hc-vault-util_${VERSION}_Linux_amr64.tar.gz"
- Check Version:
./hc-vault-util version
- Install in your
PATH
:Orsudo install hc-vault-util /usr/local/bin/
sudo mv hc-vault-util /usr/local/bin/
Windows¶
-
Download the binary
hc-vault-util_[VERSION]_Windows_x86_64.zip
from the releases page -
Unzip the Binary
-
Check Version:
./hc-vault-util.exe version