Source: https://www.vasos-koupparis.com/terraform-getting-started-install/
Download Terraform
You can download a version of Terraform from the releases service.
Install Terraform – Windows
- Download terraform for windows
- Note: Terraform is packaged as a zip archive, so after downloading Terraform, unzip the package. Terraform runs as a single binary named terraform. Any other files in the package can be safely removed and Terraform will still function
- Copy files from the zip to “c:\terraform” for example. That’s our terraform PATH.
- The final step is to make sure that the terraform binary is available on the PATH.
General Information
- The PATH is the system variable that your operating system uses to locate needed executables from the command line or Terminal window.
- The PATH system variable can be set using System Utility in control panel on Windows, or in your shell’s startup file on Linux.
Windows 10 and Windows 8
- In Search, search for and then select: System (Control Panel)
- Click the System and Security link.
- Click the System link.
- Click the Advanced system settings link.
- Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
- In the Edit System Variable (or New System Variable) window, append at the end of the PATH environment variable the value of terraform path ex.”c:\terraform;” . Click OK. Close all remaining windows by clicking OK.
- Reopen Command prompt window, and run terraform.