Back to blog
Sep 30, 2024
1 min read

Keeping Terraform up to date on Windows

A quick tutorial on how to keep Terraform up to date on your Windows development machine

Here are several ways of keeping Terraform up to date on your Windows machine

Chocolatey

Chocolatey is a Windows package manager that allows you to easily install, update, and manage software like Terraform.

Installing Terraform with Chocolatey

  1. First, install Chocolatey if you haven’t already. Open a PowerShell window as Administrator and run:

    Terminal window
    Set-ExecutionPolicy Bypass -Scope Process -Force;
    [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
    iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Winget

Powershell