From the course: Introduction to Terraform on Azure
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Installing the Terraform CLI
From the course: Introduction to Terraform on Azure
Installing the Terraform CLI
- [Instructor] We've covered what Terraform is, its benefits and how it compares to other ISE tools. Now it's time for us to install Terraform using the OS Package Manager. We will start with the installation process for macOS with Homebrew, and then Windows with Chocolatey. If you already have Terraform in your system and need to update, simply follow the steps on Terraform's website. But if you don't have Terraform and Homebrew on your Mac, go to brew.sh and follow the instructions to install Homebrew. After you've installed Homebrew on your system, then you can visit developer.hashicorp.com. Go to the Products menu and select Terraform. In the main page, click on the install button and I will highlight and copy the first command. Then back in my terminal, I'll paste the command and press Enter. Once that is done, I'm going to clear my screen and let's go back to copy the second command. So copy brew install hashicorp/tap/terraform, and then back in your terminal, paste the command…