4.0.4 • Published 2 years ago

tfv v4.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Use tfv to manage multiple versions of terraform with ease

     _        ________        __
   _| |__   / _____|\ \      / /
  |_  ___\ | |___    \ \    / /
    | |    |  ___|    \ \  / /
    | |___ | |         \ \/ /
    \______\_|          \__/

    Happy terraforming 😍🥂!

Installation

NOTE: tfv should be installed globally so that it can be run from anywhere on your computer.

npm install -g tfv

Run with alias

npm i -g tfv

Help

tfv --help

Run with alias

tfv -h

OUTPUT:

tfv <command>

Commands:
  tfv install <version> [option] Example: tfv install 1.0.11       [aliases: i]
  tfv list [option]      Example: tfv list                         [aliases: ls]
  tfv remove <version>   Example: tfv rm 1.0.11                    [aliases: rm]
  tfv auto-switch        Example: tfv as                           [aliases: as]
  tfv use <version>      Example: tfv use 1.0.11

Options:
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

Usage

https://github.com/marcdomain/tfv/assets/25563661/fa44f0f2-2dca-4f22-9fea-c74e4b8f767c

Table of Contents

Modules

  • INSTALL

VersionDescription
x.x.xInstalls terraform version x.x.x
x^Installs latest version of release x
x.x.^Installs latest version of release x.x
latestInstalls latest version of terraform
tfv install <version>

Run with option

tfv install <version> --arch <system-architecture>

EXAMPLE:

tfv install 1.5.7 -arch amd64

NOTE: The default system-architecture is the architecture of your computer (arm64, amd64, x64, etc...)

  • USE

VersionDescription
x.x.xuse terraform version x.x.x
latestuse latest version of terraform
tfv use <version>

NOTE: You would get a password prompt. Accept it. This is a one-time request to set the terraform executable in your system path.

  • LIST

OptionOption AliasDescription
Defaults to listing terraform versions installed locally (in tfv store)
--local-lLists all terraform versions installed locally
--remote-rLists all terraform versions available remotely, on terraform server
tfv list [option]

Run with alias

tfv ls [option]
  • REMOVE

Remove terraform versions managed by tfv

  tfv remove <versions>

Run with alias

  tfv rm <versions>

Example

  tfv rm x.y.z z.x.y
  • AUTO-SWITCH

Auto-detects your project terraform version, downloads it if it's not in tfv store, and switch to the version

  tfv auto-switch

Run with alias

  tfv as
4.0.4

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.3

2 years ago

4.0.2

2 years ago

3.3.4

2 years ago

2.6.0

3 years ago

3.2.2

2 years ago

3.2.1

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.2.4

2 years ago

3.2.3

2 years ago

3.0.0

2 years ago

2.3.0

3 years ago

2.5.0

3 years ago

2.4.0

3 years ago

1.9.0

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago