Skip to content

atanass/tfenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Just a simple script for switching local terraform versions

Prerequisites

  • wget, unzip, curl
  • put tfenv in your $PATH

Installation

wget https://raw.githubusercontent.com/atanass/tfenv/master/bin/tfenv -P /usr/local/bin && chmod +x /usr/local/bin/tfenv

Usage

tfenv - shows currently installed versions

tfenv <version> - use specific version.

Behind the scenes

  • If there is no terraform installed, the initial invocation will install version 0.14.0.
  • If the version in the argument is not locally installed it will be downloaded.
  • Terraform versions are stored in /usr/local/bin/ and controlled with a symbolic link.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages