Automic VaultAutomic Vault

brew

Install opentofu with Homebrew, apk, chocolatey, dnf, Nix, pacman, zypper, scoop, winget

Drop-in replacement for Terraform. Infrastructure as Code Tool. Version 1.12.5 via Homebrew; verified 2026-07-21. Also installable with nix: nix profile install nixpkgs#opentofu.

agent safety

Agent safety answer

opentofu plans and applies infrastructure changes from local state and cloud credentials.

Credential access

Reads backend credentials, provider credentials, variables, and state data.

Remote mutation

Can create, update, or destroy infrastructure resources.

Publish/artifact risk

Can deploy infrastructure that exposes or runs application artifacts.

Recommended control

Gate apply, destroy, import, state, and backend changes.

Agent-use guidance

Allow plan by default; require approval for any state-changing command.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install opentofu

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add opentofu

Alpine Linux edge package indexes · opentofu · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install opentofu

Fedora Rawhide package metadata · opentofu · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#opentofu

nixpkgs package indexes · pkgs/by-name/op/opentofu/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S opentofu

Arch Linux sync databases · opentofu · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install opentofu

openSUSE Tumbleweed package metadata · opentofu · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install opentofu

Chocolatey community package catalog · opentofu · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/opentofu

Scoop official bucket manifest trees · bucket/opentofu.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id OpenTofu.Tofu -e

Windows Package Manager source index · OpenTofu.Tofu · source: cdn.winget.microsoft.com

overview

Package summary

Drop-in replacement for Terraform. Infrastructure as Code Tool

Commands and aliases

  • tofu

history

Project history and usage

OpenTofu is a community-driven infrastructure-as-code tool created as an open-source fork of Terraform after HashiCorp changed Terraform’s license from MPL-2.0 to the Business Source License. It keeps the familiar `plan`, `apply`, state, provider, module, and HCL-style workflows while using the `tofu` executable and Linux Foundation governance.

Project history

The OpenTF manifesto began as an appeal to keep Terraform under a truly open-source license. When that did not happen, the initiative forked the last MPL-licensed Terraform codebase and moved forward as OpenTofu under the Linux Foundation. The project’s own announcement framed OpenTofu as community-driven, impartial, layered, modular, and backward-compatible.

OpenTofu reached its first stable release, 1.6.0, on January 10, 2024, after roughly four months of work. The project documented migration paths from Terraform 1.5.x and 1.6.x and positioned the release as production-ready for users who wanted open-source infrastructure-as-code continuity.

Adoption history

OpenTofu adoption was unusually fast because it started with Terraform’s established user model, provider ecosystem, and module habits. The Linux Foundation launch announcement named broad community and company backing, while the OpenTofu homepage later described thousands of providers and modules available to users.

The package-manager story matters because OpenTofu’s promise is partly operational: users need a `tofu` binary in CI images, developer laptops, container builds, and distribution repositories. Homebrew, Nix, Alpine, Fedora, Arch, Scoop, Chocolatey, winget, and other package channels made the fork installable without bespoke bootstrapping.

How it is used

Operators use OpenTofu to declare infrastructure resources, initialize providers and modules, compute plans, apply changes, manage state, and integrate infrastructure changes into CI/CD. It is intentionally familiar to Terraform users, with migration guides focused on preserving existing workflows and configurations.

The CLI reads configuration files, talks to provider plugins, stores state locally or remotely, and exposes command behavior that infrastructure teams script heavily. That makes packaging details such as executable name, plugin cache behavior, credentials files, and compatibility promises more important than for a throwaway CLI.

Why package nerds care

OpenTofu is one of the clearest examples of licensing changing a package graph. A single upstream license decision created a new binary, new governance, new release channel, and new distro formulas for a tool already embedded in deployment pipelines.

Timeline

  • 2023-08: the OpenTF manifesto objected to Terraform’s license change and proposed an open-source path.
  • 2023-09-20: the Linux Foundation announced OpenTofu as an open-source Terraform fork.
  • 2024-01-10: OpenTofu 1.6.0 became the first stable release.
  • 2024-01-10: the Linux Foundation announced OpenTofu general availability.

Related projects

  • Related projects include Terraform, the OpenTofu provider registry ecosystem, HCL, Terragrunt, Atlantis, Spacelift, env0, and CI/CD systems that run infrastructure plans as part of deployment workflows.

security posture

Risk level: orange

infrastructure as code tool.

Risk classifier

orange risk · high confidence · infrastructure

Why

  • infrastructure as code tool

Signals

  • override:opentofu

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.tofurc$XDG_CONFIG_HOME/opentofu/tofurc
Windows
%APPDATA%\tofu.rc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.terraform.d/credentials.tfrc.json

executables

Installed executables

CommandKindExposureNote
tofucliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-26
manager version1.12.5
manager updated2026-07-21
local dataok
upstreamcurrent
latest detectedv1.12.5

https://github.com/opentofu/opentofu

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:opentofu
Version1.12.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/opentofu
Homepagehttps://opentofu.org/
Repositoryhttps://github.com/opentofu/opentofu
Upstream docshttps://opentofu.org/docs
LicenseMPL-2.0
Source archivehttps://github.com/opentofu/opentofu/archive/refs/tags/v1.12.5.tar.gz
Last updated2026-07-21T12:35:43Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopentofu
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • tenv
  • tofuenv
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

opentofu

nix profile install nixpkgs#opentofu
  • normalized package name match
  • Matched by: Opentofu
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/op/opentofu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

opentofu 1.12.1-r0

OpenTofu lets you declaratively manage your cloud infrastructure

https://opentofu.org/

sudo apk add opentofu
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: opentofu
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Opentofu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opentofu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

opentofu 1.12.0-1.fc45

OpenTofu lets you declaratively manage your cloud infrastructure

https://github.com/opentofu/opentofu

sudo dnf install opentofu
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unlicense
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: opentofu
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Opentofu
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: opentofu from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

opentofu 1.12.0-1

Lets you declaratively manage your cloud infrastructure

https://github.com/opentofu/opentofu

sudo pacman -S opentofu
  • License: MPL-2.0
  • Architecture: x86_64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Opentofu
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: opentofu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

opentofu 1.12.1-1.1

Declaratively manage your cloud infrastructure

https://github.com/opentofu/opentofu

sudo zypper install opentofu
  • License: MPL-2.0
  • Category: System/Management
  • Architecture: x86_64
  • Source Package: opentofu
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Opentofu
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: opentofu from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Chocolatey95%

opentofu

choco install opentofu
  • normalized package name match
  • Matched by: Opentofu
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: opentofu from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.9764','inconsolata'
Scoop95%

main/opentofu

scoop install main/opentofu
  • normalized package name match
  • Matched by: Opentofu
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/opentofu.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

OpenTofu.Tofu

winget install --id OpenTofu.Tofu -e
  • normalized package name match
  • Matched by: Opentofu
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: OpenTofu.Tofu from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

OpenTofu.Tofu.Alpha

winget install --id OpenTofu.Tofu.Alpha -e
  • normalized package name match
  • Matched by: Opentofu
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: OpenTofu.Tofu.Alpha from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

OpenTofu.Tofu.Beta

winget install --id OpenTofu.Tofu.Beta -e
  • normalized package name match
  • Matched by: Opentofu
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: OpenTofu.Tofu.Beta from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

OpenTofu.Tofu.RC

winget install --id OpenTofu.Tofu.RC -e
  • normalized package name match
  • Matched by: Opentofu
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: OpenTofu.Tofu.RC from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment