Installing Terraform

We install Terraform for use with AWS.

We also ensure we have the aws command installed:

First we'll install AWS (

1# Install on MacOS
2curl "" -o "AWSCLIV2.pkg"
3sudo installer -pkg AWSCLIV2.pkg -target /

I use Brew on MacOS to install Terraform:

1brew upgrade
3# Install Terraform
4brew tap hashicorp/tap
5brew install hashicorp/tap/terraform
7# Upgrade Terraform
8brew upgrade hashicorp/tap/terraform

Don't miss out

Sign up to learn when new content is released! Courses are in production now.