How to uninstall terraform - Windows PC

I've been looking around on multiple sites on "how to uninstall Hashicorp's Terraform" and I only get back - "Install" results. Does anyone have info on this?

I did look on Hashicorps' site but there is no easy search function there (there is none). I cannot find 'uninstall' information anywhere and I definitely do not see that on hashicorp's site.

Do I have to just search through my registry and delete all terraform keys? I'm logged in as Admin Win 10 PC with all the latest Windows updates as of Jul 31. I do not wish to upgrade from 0.11.11 to 0.12. I just want to do an uninstall like we do for other software.


Solution 1:

The answer is late, but I just found question while having the same problem so posting what I did

When you install terraform you do 2 things:

  1. Unzip to local directory (Eg C:/Terraform) (zip downloaded from terraform site, containing terraform.exe)
  2. Update environment variable to point to that directory

So if you want to upgrade/downgrade to a specific version.

  1. Then just download that specific version zip from terraform official
  2. Extract and replace that file in local directory (Eg C:/Terraform), that you initially used

If you dont remember the initial directory/local directory then just go yo your environment variables to check path.