Using the asdf version manager to manage versions of various binaries like terraform, vault or packer is easily done by following the instructions below:
- Download and install asdf if you haven’t got it already (https://asdf-vm.com/#/core-manage-asdf)
- If you want to install the latest version of terraform for example do the following:
SHELL
x
asdf plugin add terraform
asdf install terraform latest
asdf global terraform 0.14.9
asdf list
terraform
0.14.9
terraform --version
Terraform v0.14.9