Skip to content

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

  1. 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"
    
  2. Extract Binary:
    tar xzf "hc-vault-util_${VERSION}_Darwin_x86_64.tar.gz"
    
  3. Check Version:
    ./hc-vault-util version
    
  4. Install in your PATH:
    sudo install hc-vault-util /usr/local/bin/
    
    Or
    sudo mv hc-vault-util /usr/local/bin/
    
  1. 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"
    
  2. Extract Binary:
    tar xzf "hc-vault-util_${VERSION}_Darwin_amr64.tar.gz"
    
  3. Check Version:
    ./hc-vault-util version
    
  4. Install in your PATH:
    sudo install hc-vault-util /usr/local/bin/
    
    Or
    sudo mv hc-vault-util /usr/local/bin/
    
  1. 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"
    
  2. Extract Binary:
    tar xzf "hc-vault-util_${VERSION}_Darwin_all.tar.gz"
    
  3. Check Version:
    ./hc-vault-util version
    
  4. Install in your PATH:
    sudo install hc-vault-util /usr/local/bin/
    
    Or
    sudo mv hc-vault-util /usr/local/bin/
    

Linux

  1. 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"
    
  2. Extract Binary:
    tar xzf "hc-vault-util_${VERSION}_Linux_x86_64.tar.gz"
    
  3. Check Version:
    ./hc-vault-util version
    
  4. Install in your PATH:
    sudo install hc-vault-util /usr/local/bin/
    
    Or
    sudo mv hc-vault-util /usr/local/bin/
    
  1. 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"
    
  2. Extract Binary:
    tar xzf "hc-vault-util_${VERSION}_Linux_amr64.tar.gz"
    
  3. Check Version:
    ./hc-vault-util version
    
  4. Install in your PATH:
    sudo install hc-vault-util /usr/local/bin/
    
    Or
    sudo mv hc-vault-util /usr/local/bin/
    

Windows

  1. Download the binary hc-vault-util_[VERSION]_Windows_x86_64.zip from the releases page

  2. Unzip the Binary

  3. Check Version:

    ./hc-vault-util.exe version