
Installing terraform
So I tried installing terraform following the instructions from terraform.io on my Mac(Mojave). Unfortunately, that didn't work. I tried installing it through brew and it worked.
Here are the steps
- Make sure you have homebrew installed
- On terminal run the following command
brew install terraform
something like this shows up

3. Kill the terminal, open a new terminal
4. Run the following command
terraform -v
you should see something like this

5. Terraform is successfully installed.
PS: Unlike the steps suggested in terraform.io, above mentioned steps is probably the simplest way to install terraform on Mac.