Last active
May 10, 2023 08:04
-
-
Save lantrix/038c1f8c66344695c3338121556644e2 to your computer and use it in GitHub Desktop.
Install an older version with Brew as @ Jan 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove latest | |
brew uninstall terraform | |
# create a local tap for old version - The brew tap-new <org>/<repo> does not have to be an actual repo. | |
brew tap-new lantrix/an-older-terraform | |
#extract old version forumla | |
brew extract --version 0.13.5 terraform lantrix/an-older-terraform | |
# Install old formula | |
brew install lantrix/an-older-terraform/[email protected] | |
#synlink old version | |
ln -s /usr/local/bin/terraform\@0.13.5 /usr/local/bin/terraform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment