- Getting started
- Installing OpenTofu
Installing OpenTofu
You can install OpenTofu via a wide range of methods. Please select your operating system and installation method:
Alpine Linux (.apk)
Install OpenTofu from an .apk package directly.
Debian Linux and derivatives (.deb)
Install OpenTofu on Debian, Ubuntu, or any other .deb-based Linux distribution using your package manager.
FreeBSD
Use OpenTofu without installation on FreeBSD.
Fedora
Installing OpenTofu on Fedora.
RHEL and derivatives (.rpm)
Install OpenTofu on RHEL, openSUSE, AlmaLinux, or any other .rpm-based Linux distribution using your package manager.
Ubuntu Linux (Snap)
Install OpenTofu on Ubuntu, Manjaro, or any other Linux distribution using Snap.
MacOS or Linux (Homebrew)
Install OpenTofu on MacOS or Linux using Homebrew.
Windows
Install OpenTofu on Windows.
OCI container image
Use official OCI container image available on GitHub Container Registry.
Standalone (Linux/MacOS/Windows/BSD)
Use OpenTofu without installation on Linux, MacOS, Windows or FreeBSD.