tfenv
« Back to VersTracker
Description:
Terraform version manager inspired by rbenv
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: terraform version-manager devops infrastructure-as-code cli
Install: brew install tfenv
About:
Tfenv is a command-line tool that simplifies managing multiple versions of Terraform. It allows developers to easily install, switch between, and set default Terraform versions on a per-project or global basis. This ensures version consistency across teams and prevents compatibility issues with infrastructure code.
Key Features:
  • Install specific Terraform versions or the latest stable release
  • Switch between versions globally or on a per-directory basis
  • Automatically switches versions when changing directories
  • Simple command-line interface inspired by rbenv
Use Cases:
  • Managing different Terraform versions for multiple projects with varying requirements
  • Ensuring consistent Terraform versions across development teams
  • Testing infrastructure code against multiple Terraform versions
  • Quickly switching between Terraform versions for compatibility testing
Alternatives:
  • tfswitch – Similar functionality with interactive version selection
  • asdf – General-purpose version manager that supports Terraform among many other tools
Version History
Detected Version Rev Change Commit