here I'm providing solution to setup terraform enviroment variable in windows to beginners.
- Download the terraform package from portal either 32/64 bit version.
- make a folder in C drive in program files if its 32 bit package you have to create folder inside on programs(x86) folder or else inside programs(64 bit) folder.
- Extract a downloaded file in this location or copy terraform.exe file into this folder.
copy this path location like C:\Programfile\terraform\
- Then got to Control Panel -> System -> System settings -> Environment Variables
Open system variables, select the path > edit > new > place the terraform.exe file location like > C:\Programfile\terraform\
and Save it.
- Open new terminal and now check the terraform.