Skip to content

Appendix

Preparing OpenTofu

Install OpenTofu on Linux

On your Linux workstation run the following scripts to install OpenTofu. See [here]for latest instructions and other platform information.

Download the installer script:
curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh
Give it execution permissions:
chmod +x install-opentofu.sh
Run the installer:
./install-opentofu.sh --install-method rpm

Install OpenTofu on Windows

On your Windows workstation run the following scripts to install OpenTofu.

Download the installer script:
Invoke-WebRequest -outfile "install-opentofu.ps1" -uri "https://get.opentofu.org/install-opentofu.ps1"
Run the installer
& .\install-opentofu.ps1 -installMethod standalone
Remove the installer
Remove-Item install-opentofu.ps1