First, you must install Terraform on your machine; you can find all the instructions in the Hashicorp official documentation.