Skip to content

Download and switch to HashiCorp product binaries

Notifications You must be signed in to change notification settings

nvanthao/hashi-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

hashi-switch

This is an utility script that helps to download and switch to different HashiCorp product binary easily for development and testing purpose.

Usage

Execute the script and provide the $PRODUCT and $VERSION

sudo ./get consul 1.15.2+ent

Alternatively, for automation purpose

curl -sSL https://raw.githubusercontent.com/nvanthao/hashi-switch/main/get -o /usr/local/bin/hs
chmod +x /usr/local/bin/hs 

For example

hs consul 1.15.2
hs consul-k8s 1.1.1
hs nomad 1.5.3+ent

Notes

This is only works with Linux and Darwin

About

Download and switch to HashiCorp product binaries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages