Automic VaultAutomic Vault

brew

Install tofuenv with Homebrew

OpenTofu version manager inspired by tfenv. Version 1.0.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tofuenv

local Homebrew formula metadata

overview

Package summary

OpenTofu version manager inspired by tfenv

Commands and aliases

  • tofuenv

history

Project history and usage

tofuenv is an OpenTofu version manager, modeled after tfenv, for installing and selecting tofu versions from the shell.

Project history

tofuenv belongs to the OpenTofu post-fork tooling wave. OpenTofu itself was created after HashiCorp's 2023 Terraform license change and reached a first stable release on January 10, 2024.

The tofuenv README presents the project as an OpenTofu version manager inspired by tfenv, with support for macOS, Linux, and limited Windows/git-bash testing.

Adoption history

The README documents installation through Homebrew, the Arch User Repository, and a Puppet module, while the input package facts list Homebrew packaging. This suggests its main adoption path is among shell users who already manage infrastructure tools through package managers and dotfiles.

How it is used

tofuenv installs explicit OpenTofu versions, latest versions, regex-selected latest versions, and versions inferred from OpenTofu required_version constraints. With no version argument it resolves TOFUENV_TOFU_VERSION first, then .opentofu-version files, then defaults to latest.

The tool also exposes package-nerd knobs such as tofuenv_REMOTE for custom release mirrors, tofuenv_ARCH for architecture selection, tofuenv_CONFIG_DIR for state/config placement, and tofuenv_NETRC_PATH for credentials when accessing a protected remote.

Why package nerds care

tofuenv is useful in the same niche as rbenv, pyenv, and tfenv: it makes infrastructure repositories self-describing through a checked-in version file and lets contributors switch CLI versions without replacing the system package.

Timeline

  • 2023: OpenTofu was forked after the Terraform license change described in the OpenTofu manifesto.
  • 2024-01-10: OpenTofu reached its first stable release.
  • Current: tofuenv documents Homebrew, AUR, Puppet, manual clone, .opentofu-version, and environment-variable workflows.

Related projects

  • OpenTofu is the CLI managed by tofuenv.
  • tfenv is the Terraform version manager that tofuenv cites as its inspiration.

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:version manager

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime 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
./.opentofu-version~/.opentofu-version

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
$tofuenv_NETRC_PATH

executables

Installed executables

CommandKindExposureNote
tofuenvcliglobal 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-08
manager version1.0.7
manager updated
local dataok
upstreamcurrent
latest detectedv1.0.7

https://github.com/tofuutils/tofuenv

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:tofuenv
Version1.0.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tofuenv
Homepagehttps://tofuutils.github.io/tofuenv/
Repositoryhttps://github.com/tofuutils/tofuenv
Upstream docshttps://github.com/tofuutils/tofuenv#readme
LicenseMIT
Source archivehttps://github.com/tofuutils/tofuenv/archive/refs/tags/v1.0.7.tar.gz
Dependenciesgrep
Uses from macOSjq, unzip
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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 configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment