How do I install OpenTofu on Windows?⌄
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id OpenTofu.Tofu.Beta --exact --version 1.10.0-beta2. winget downloads the installer from The Linux Foundation and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install OpenTofu silently for unattended deployment?⌄
Add --silent and accept the agreements upfront: winget install --id OpenTofu.Tofu.Beta --exact 1.10.0-beta2 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
How do I uninstall OpenTofu via winget?⌄
Run: winget uninstall --id OpenTofu.Tofu.Beta --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from OpenTofu's Apps & Features entry.
Is OpenTofu free?⌄
OpenTofu is distributed under MPL-2.0. Refer to the publisher (https://github.com/opentofu/opentofu) for the full license terms - Wingetly itself does not charge for installation.
Does OpenTofu work on Windows 10?⌄
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls OpenTofu directly from the publisher.
How do I keep OpenTofu up to date?⌄
Run winget upgrade --id OpenTofu.Tofu.Beta --exact, or winget upgrade --all to update everything winget tracks. We index 9 versions of OpenTofu from microsoft/winget-pkgs.