A simple tool to manage Terraform versions.
To install tfversion using brew, simply run:
brew install tfversion/tap/tfversion
You can download the latest binary for Linux, MacOS, and Windows.
To ensure that tfversion
is always available in your shell, append the following line to your shell profile (e.g., .bashrc, .zshrc or fish config):
export PATH="$HOME/.tfversion/bin:$PATH"
We prefer to not automagically modify your shell profile, and therefore leave this step to you.
tfversion
is user-friendly and easy to use. For more information, please visit the documentation.
tfversion install 1.7.0
tfversion install --latest
tfversion install --latest --pre-release
tfversion install --required
tfversion use 1.7.0
tfversion use --latest
tfversion use --latest --pre-release
tfversion use --required
tfversion use 1.7.4 --install
tfversion use --latest --install
tfversion alias default 1.7.4
tfversion use default
tfversion list
tfversion list --installed
tfversion list --aliases
tfversion list --pre-release
tfversion uninstall 1.7.4
tfversion current
Contributions are highly appreciated and always welcome. Have a look through existing Issues and Pull Requests that you could help with.