How To Install Terraform on Windows 10 or 8 or 7-DecodingDevOps

Steps To Install Terraform on Windows 10 or 8 or 7

terraform is infrastructure as code tool. With terraform scripts we can automate the configuration of our infrastructure. in this tutorial i will show you how to install terraform on windows 10 or 8 or 7. to install terraform on windows 10 or 8 or 7 follow below steps.

  • download terraform zip package from the official terraform website
  • unzip the terrafrom package
  • configure environment variable for terrafrom

Download Terraform

download the terraform from official terraform website    https://www.terraform.io/downloads.html

you can see the windows 32 bit and 64 bit source files. download depends on your system here i am downloading 64 bit terraform. it will be downloaded as zip file.

Unzip the terraform package

extract the downloaded zip file. Here i downloaded the terraform zip file in C:\Users\devops\Downloads\. I extrated the zip file, after extracting the zip file you can see terraform.exe file in C:\Users\devops\Downloads\terraform_0.12.23_windows_amd64

install terraform on windows

This is the workspace path of your tarraform in your system or you can say the path of terraform.exe.

Configure environment variables for terraform

This PC(MyComputer)—>properties —>advanced system settings–>environment variables—>system variables—>path–edit–>new

in your windows 10 or 8 or 7 right click on This PC(MyComputer)—>properties —>advanced system settings. Here you can see environment variables click on it here you can see user variables and system variables. In system variables you can see “path” select path and click on edit and add path of terraform i.e  C:\Users\devops\Downloads\terraform_0.12.23_windows_amd64

install terraform on windows 10

 

That’s it we have successfully configured terraform on windows 10 or 8 or 7.

Verify terraform version

using terraform version command you can see the terraform version. open command prompt in your system and enter terraform version command. it will give you the terraform version.

C:\Windows\system32>terraform version

Terraform v0.12.23

List Terraform Commands

To list the terraform commands open command prompt and enter terraform and hit enter. it will list all terraform commands.

how to install terraform on windows 10

Create Ec2 Instance using terraform

lets check this article on How to create ec2 instance using terraform

 

  • how to install terraform on windows 10 or 7
  • install terraform on windows 10 or 7
  • terraform installation on windows 10 or 7
  • installation of terraform on windows 7 or 10

 

Leave a Reply

Your email address will not be published. Required fields are marked *