A version manager for OpenTofu, Terraform, Terragrunt, Terramate, and Atmos, written in Go.
tenv is a version manager for Infrastructure as Code tools like OpenTofu, Terraform, Terragrunt, Terramate, and Atmos. It solves the problem of managing multiple versions of these tools across different projects by providing a unified CLI to install, switch, and auto-detect required versions. Written in Go, it ensures fast, secure, and cross-platform operation.
DevOps engineers, SREs, and developers working with Terraform, OpenTofu, or related IaC ecosystems who need to manage multiple tool versions across projects or CI/CD pipelines.
Developers choose tenv for its dedicated focus on IaC tools, superior cross-platform performance, built-in security validation, and automatic version detection from HCL files—offering a more streamlined and secure alternative to generic version managers.
OpenTofu / Terraform / Terragrunt / Terramate and Atmos version manager
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Manages versions for five key Infrastructure as Code tools—OpenTofu, Terraform, Terragrunt, Terramate, and Atmos—with a single CLI, simplifying multi-tool environments as highlighted in the key features.
Parses HCL files to automatically detect version constraints from project configurations using Semver 2.0.0, enabling commands like 'latest-allowed' and 'min-required' for seamless version resolution.
Supports cosign and PGP validation for downloaded binaries, with configurable validation modes (signature, sha, none) to ensure integrity, as detailed in the signature verification section.
Written in Go, it provides standalone binaries that work uniformly across Linux, macOS, Windows, BSD, and Solaris, outperforming generic managers like asdf-vm in speed and compatibility.
Requires managing numerous environment variables (e.g., TOFUENV_*, TFENV_*) and remote configuration files for advanced setups, which can be daunting for users seeking simplicity.
Only covers five specific IaC tools; teams needing version management for other DevOps tools must use separate solutions, unlike extensible managers like asdf-vm.
The Docker container is explicitly not recommended for CI pipelines, as per the README, forcing additional scripting or manual installations in automated environments.
tenv is an open-source alternative to the following products: