Step 1: - Download the Terraform package form :
https://www.terraform.io/downloads.html)
- Extract Terraform.exe file to a local folder on your
Windows machine (for example C:\Terraform)
Windows machine (for example C:\Terraform)
Sept 2: Update path variable
- Press start and search for Settings
- Open Settings > Settings > System > About > Related settings
- Advanced system settings > System Properties
- Environment Variables > Click Path > Edit
- Press start and search for Settings
- Open Settings > Settings > System > About > Related settings
- Advanced system settings > System Properties
- Environment Variables > Click Path > Edit
- Click on New and add the path of the Terraform folder
- Click Ok > Ok > Ok
- Click Ok > Ok > Ok
Step 3: Run this PowerShell command to verify the Terraform version
terraform -version
terraform -version