Manual installation

To install Terraform manually, perform the following steps:

  1. Go to the official download page, https://www.terraform.io/downloads.html, and download the package corresponding to your operating system.
  2. After downloading, unzip and copy the binary into an execution directory (for example, inside c:\Terraform).
  3. Then, the PATH environment variable must be completed with the path to the binary directory. For detailed instructions, view the video here: https://learn.hashicorp.com/terraform/getting-started/install.html.

Now that we've learned how to install Terraform manually, let's look at the options available to us to install it using a script.