Skip to main content

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.

RHEL and derivatives (.rpm)

Install OpenTofu on RHEL, Fedora, openSUSE, 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.

FreeBSD

Use OpenTofu without installation on FreeBSD.

Standalone (Linux/MacOS/Windows/BSD)

Use OpenTofu without installation on Linux, MacOS, Windows or FreeBSD.

OCI container image

Use official OCI container image available on GitHub Container Registry.