How to install Terraform in Windows 11

I have been using Terraform for a while to launch my infrastructure in AWS, Google Cloud, and Azure and I am loving it since I do not need to learn different sets of languages or syntax for different Cloud Providers.

My only challenge when it comes to Terraform is that the installation instruction in the terraform site is not as detailed as I want it to be.

So here’s a tutorial on how to install Terraform in Windows 11 and make it work in Command Prompt, Powershell, and Git Bash with instructions and screenshots you can follow.

Note: You can also follow these steps for Windows 10.


  1. Download Terraform binary for Windows
  2. Extract terraform.exe
  3. Add Terraform folder in Path Environment Variable
  4. Testing terraform Command

1. Download Terraform binary for Windows

Go to terraform.io/downloads.html, then scroll down and look for the Windows section. Click on 64-bit.

This will start the download of the zip file that contains the terraform.exe binary.

Continue reading How to install Terraform in Windows 11

Fix Terraform not running even when added to Path Environment Variable in Windows 11

I have experienced that when I did the normal steps in installing terraform, the Command Prompt, PowerShell, and Git Bash still did not recognize the terraform command in Windows 11. Even when I already added the terraform.exe location in the Path Environment Variable.

It is just annoying when this happens, luckily I was able to resolve this issue.

Note: The instructions are for Windows 11, but these steps will also work in Windows 10.

Continue reading Fix Terraform not running even when added to Path Environment Variable in Windows 11