Automic VaultAutomic Vault

brew

Install tenv with Homebrew, apk, MacPorts, Nix, scoop, winget, apt

OpenTofu / Terraform / Terragrunt / Terramate / Atmos version manager. Version 4.14.8 via Homebrew; verified 2026-06-11.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tenv

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tenv

MacPorts ports tree · sysutils/tenv/Portfile · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/tenv

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

Windows Package Managerverified · 92%
winget install --id Tofuutils.Tenv -e

Windows Package Manager source index · Tofuutils.Tenv · source: cdn.winget.microsoft.com

overview

Package summary

OpenTofu / Terraform / Terragrunt / Terramate / Atmos version manager

Commands and aliases

  • tenv
  • terramate
  • tf

history

Project history and usage

tenv is a Go version manager for OpenTofu, Terraform, Terragrunt, Terramate, and Atmos. Its README describes it as a successor to tofuenv and tfenv, with extra infrastructure-as-code awareness and cross-platform binary distribution.

Project history

The GitHub repository was created in January 2024, shortly after OpenTofu became a prominent Terraform-compatible tool. The project consolidated separate environment-manager patterns for Terraform and OpenTofu into one executable that also manages adjacent tools used in IaC workflows.

Adoption history

The official README documents broad package availability across Homebrew, MacPorts, Nix, Scoop, WinGet, Chocolatey, Snap, Alpine, Debian/Ubuntu, RedHat, Arch/AUR, Cloudsmith repositories, and Docker. The supplied package metadata also records Homebrew, apk, MacPorts, Nix, Scoop, Ubuntu, and WinGet entries.

How it is used

Users run `tenv <tool> <command>` to install, use, detect, reset, uninstall, and list versions for OpenTofu, Terraform, Terragrunt, Terramate, and Atmos. The docs emphasize version files, HCL-based required-version detection, semver constraints, signature verification, and compatibility with tfenv and tofuenv command habits.

Why package nerds care

tenv is significant for package nerds because it sits at the junction of packaging, IaC reproducibility, and the Terraform-to-OpenTofu transition. It offers one binary with package-manager-friendly releases, shell completions, version-file conventions, checksum and signature checks, and aliases that preserve older tfenv/tofuenv workflows.

Timeline

  • 2024-01-05: GitHub repository created.
  • 2024-01-23: v1.0.4 release published.
  • 2024-05-14: v1.11.0 release published.
  • 2026-04-29: v4.12.0 release published.
  • 2026-06-10: v4.14.8 release published.

Related projects

  • The README explicitly identifies tofuenv and tfenv as predecessors, compares tenv with asdf, and targets OpenTofu, Terraform, Terragrunt, Terramate, and Atmos.

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 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
${HOME}/.tenv/remote.yaml${HOME}/.tenv/OpenTofu/version${HOME}/.tenv/Terraform/version${HOME}/.tenv/Terragrunt/version${HOME}/.tenv/Terramate/version${HOME}/.tenv/Atmos/version./.opentofu-version./.terraform-version./.tfswitchrc./.terragrunt-version./.tgswitchrc./.terramate-version./.atmos-version./.tool-versions

executables

Installed executables

CommandKindExposureNote
tenvcliglobal executable
terramatecliglobal executable
tfcliglobal 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 version4.14.8
manager updated2026-06-11
local dataok
upstreamcurrent
latest detectedv4.14.8

https://github.com/tofuutils/tenv

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:tenv
Version4.14.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tenv
Homepagehttps://tofuutils.github.io/tenv/
Repositoryhttps://github.com/tofuutils/tenv
Upstream docshttps://tofuutils.github.io/tenv
LicenseApache-2.0
Source archivehttps://github.com/tofuutils/tenv/archive/refs/tags/v4.14.8.tar.gz
Last updated2026-06-11T00:46:32Z
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 Nametenv
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • atmos
  • opentofu
  • terragrunt
  • terramate
  • tfenv
  • tgenv
  • 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%

tenv

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

tenv 4.12.2-r0

OpenTofu, Terraform, Terragrunt, and Atmos version manager

https://github.com/tofuutils/tenv

sudo apk add tenv
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tenv
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tenv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tenv from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

tenv-bash-completion 4.12.2-r0

Bash completions for tenv

https://github.com/tofuutils/tenv

sudo apk add tenv-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tenv
  • normalized package name match
  • Matched by: Tenv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tenv-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

tenv-fish-completion 4.12.2-r0

Fish completions for tenv

https://github.com/tofuutils/tenv

sudo apk add tenv-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tenv
  • normalized package name match
  • Matched by: Tenv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tenv-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

tenv-zsh-completion 4.12.2-r0

Zsh completions for tenv

https://github.com/tofuutils/tenv

sudo apk add tenv-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tenv
  • normalized package name match
  • Matched by: Tenv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tenv-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

tenv

sudo port install tenv
  • normalized package name match
  • Matched by: Tenv
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/tenv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/tenv

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

Tofuutils.Tenv

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

tf

sudo port install tf
  • installed executable or alias match
  • Matched by: Tf
MacPorts ports tree · api.github.com · MacPorts ports tree: net/tf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

terramate

nix profile install nixpkgs#terramate
  • installed executable or alias match
  • Matched by: Terramate
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terramate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Nix92%

tf

nix profile install nixpkgs#tf
  • installed executable or alias match
  • Matched by: Tf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tf/tf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

tf 1:4.0s1-21.1

Tinyfugue MUD client for TinyMUDs, DikuMUDs, and LPMUDs

sudo apt install tf
  • Section: universe/games
  • Architecture: amd64
  • 3 dependencies
  • installed executable or alias match
  • Matched by: Tf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Scoop92%

main/tf

scoop install main/tf
  • installed executable or alias match
  • Matched by: Tf
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/tf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

Terramate.CLI

winget install --id Terramate.CLI -e
  • installed executable or alias match
  • Matched by: Terramate
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Terramate.CLI 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment