-
Clone or update Homebrew-core from https://github.com/Homebrew/homebrew-core
-
Search the git log for the specific commit for the Terraform that needs to be installed.
$ git log --grep "update 0.10.8 bottle" -- Formula/terraform.rb
-
Brew install terraform.
$ brew install terraform
-
Unlink the installed version.
$ brew unlink terraform
-
Brew install the specific version.
$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e4ca4d2c41d4c1412994f9f1cb14993be5b2c59a/Formula/terraform.rb
Replace
e4ca4d2c41d4c1412994f9f1cb14993be5b2c59a
with the commit of the version you're looking for. -
Pin that specific version
$ brew pin terraform
Last active
January 11, 2019 19:45
-
-
Save jknsware/3b1527a8afad45f1caf4b30b418c88e2 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment