tfversion
tfversion is an open source Terraform version management tool. As consultant in the field of Cloud and Infrastructure, we use multiple versions of Terraform on a daily basis. We found that existing tools to easily switch between versions were not intuitive or maintained well. So together with Bruno Schaatsbergen, we built our own.
The easiest way to get started with tfversion
is using Homebrew:
brew install tfversion/tap/tfversion
Then you can run the following commands to install and use a version:
tfversion install 1.7.3
# better: put this in your `ZSH` or `Bash` profile
export PATH="$HOME/.tfversion/bin:$PATH"
tfversion use 1.7.3
A full usage guide can be found on the official website.