Published on

Terraform version manager with tfenv

Authors
  • avatar
    Name
    Hoang Nguyen
    LinkedIn
Terraform

1. Why?

It allows you to easily switch between different versions of Terraform, which is useful for projects that require different versions of Terraform due to compatibility issues or specific feature requirements.

2. What?

tfenv is a tool for managing multiple versions of the Terraform configuration language and CLI.

3. How?

Install on MacOS

brew install tfenv

List installed versions

tfenv list

List installable versions

tfenv list-remote

Switch a version to use

tfenv use [version]
tfenv use 1.9.2