How to Install Terraform on Windows 11
In this tutorial, we will guide you through the steps to install Terraform on Windows 11 operating system.
Prerequisites
- A Windows 11 powered computer.
- Administrative privileges to install software on the system.
- An internet connection.
Step 1: Download Terraform
Go to https://www.terraform.io/ website and click on the "Download" button. This will take you to the download page.
Select the version of Terraform that is compatible with Windows and download the zip file.
Step 2: Extract the Terraform archive
Navigate to the location where you have downloaded the Terraform zip file and extract it to a folder of your choice.
Step 3: Add the Terraform executable to the system path
To use Terraform commands in PowerShell or Command Prompt, we need to add the Terraform executable to the system path.
- Open the start menu and search for "Environment Variables".
- Click on "Edit the system environment variables"
- Click on the "Environmental Variables" button.
- In the "System Variables" section, scroll down until you find the "Path" variable and then click on "Edit".

- Click on "New", then type in the path where you extracted the Terraform executable.

- Click on "OK" to close all windows.
Step 4: Confirm the Terraform installation
Open the PowerShell or Command Prompt and run the following command:
terraform -v
This command will show you the installed version of Terraform and confirm that it is installed correctly.

Congratulations! You have successfully installed Terraform on your Windows 11 computer.