Terraform command not found

If you are getting terraform command not found error this article will guide how to solve this issue on your mac.

Today, We have prepared to show you the video tutorial on how to install Terraform as well as fix the error Terraform command not found.

Quick Installation using Homebrew

check this video

steps below

Step 1:

Open https://brew.sh/
terraform command not found mac

Copy the URL that showed in the above screenshot

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Paste copied URL in the terminal and hit return/enter key

Once you have done with Homebrew installation follow Step 2:

Step 2: 

Download terraform from 
https://www.terraform.io/downloads.html

extract downloaded zip terraform file

Now you will have one filename terraform on downloaded folder

For instance

/Users/username/downloads/terraform

Step 3:

Open a terminal

cd: change directory to /Users/username/downloads/terraform

Step 4:

run brew install terraform in the terminal
0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *