tfenv

Terraform version manager.

Visit Website →

Overview

tfenv is a simple yet powerful command-line tool that allows you to install, uninstall, and switch between different versions of Terraform. It is inspired by tools like `rbenv` and `pyenv`. This is essential for developers and teams who work on multiple projects that may have dependencies on specific Terraform versions, ensuring a consistent and reproducible environment for each project.

✨ Key Features

  • Install multiple Terraform versions
  • Switch between installed versions easily
  • Set per-project Terraform versions via a `.terraform-version` file
  • Automatically uses the correct version for a project
  • Simple shell script-based implementation

🎯 Key Differentiators

  • Singular focus on managing Terraform versions.
  • Widely adopted and considered a standard tool in the community.
  • Simple and reliable shell-based implementation.

Unique Value: Solves the common problem of managing multiple Terraform versions across different projects, ensuring consistency and preventing version-related errors.

🎯 Use Cases (4)

Managing Terraform dependencies for different projects. Testing infrastructure code against new or old versions of Terraform. Ensuring all team members use the same Terraform version for a given project. Simplifying Terraform upgrades and rollbacks.

✅ Best For

  • Switching between different Terraform versions for different projects.

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Managing versions of other tools (use `tenv` for broader support).

🏆 Alternatives

tenv asdf-terraform

While tools like `tenv` support more IaC tools, `tfenv`'s simplicity and focus make it a reliable choice for teams centered on Terraform.

💻 Platforms

Desktop (CLI)

✅ Offline Mode Available

🔌 Integrations

Terraform

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: Fully open-source and free.

Visit tfenv Website →