Difference between revisions of "Tfenv"
Jump to navigation
Jump to search
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | <code>[[tfenv]]</code> Terraform version manager | ||
+ | * https://github.com/tfutils/tfenv (not update since 2022) | ||
* <code>[[brew install tfenv]]</code> | * <code>[[brew install tfenv]]</code> | ||
+ | * <code>[[tfenv --help]]</code> | ||
− | |||
− | |||
[[TFENV_TERRAFORM_VERSION]] | [[TFENV_TERRAFORM_VERSION]] | ||
terraform --version | terraform --version | ||
cat: /Users/name/brew/Cellar/tfenv/3.0.0/version: No such file or directory | cat: /Users/name/brew/Cellar/tfenv/3.0.0/version: No such file or directory | ||
− | Version could not be resolved (set by /Users/name/brew/Cellar/tfenv/3.0.0/version or tfenv | + | Version could not be resolved (set by /Users/name/brew/Cellar/tfenv/3.0.0/version or tfenv use <version>) |
− | + | ||
+ | |||
+ | Error: Cannot install terraform because conflicting formulae are installed. | ||
+ | tfenv: because tfenv symlinks terraform binaries | ||
+ | |||
+ | Please `[[brew unlink tfenv]]` before continuing. | ||
+ | |||
+ | Unlinking removes a formula's symlinks from /Users/name/brew. You can | ||
+ | link the formula again after the install finishes. You can --force this | ||
+ | install, but the build may fail or cause obscure side effects in the | ||
+ | resulting software. | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[brew install]] [[direnv]]</code> | ||
+ | * <code>[[tfswitch]]</code> | ||
+ | * <code>[[rbenv]]</code> | ||
== See also == | == See also == |
Latest revision as of 14:29, 16 March 2023
tfenv
Terraform version manager
- https://github.com/tfutils/tfenv (not update since 2022)
brew install tfenv
tfenv --help
TFENV_TERRAFORM_VERSION
terraform --version cat: /Users/name/brew/Cellar/tfenv/3.0.0/version: No such file or directory Version could not be resolved (set by /Users/name/brew/Cellar/tfenv/3.0.0/version or tfenv use <version>)
Error: Cannot install terraform because conflicting formulae are installed. tfenv: because tfenv symlinks terraform binaries Please `brew unlink tfenv` before continuing. Unlinking removes a formula's symlinks from /Users/name/brew. You can link the formula again after the install finishes. You can --force this install, but the build may fail or cause obscure side effects in the resulting software.
Related[edit]
See also[edit]
tfenv
[ pin | inist | version-name | list-remote | list | use | --help ]
brew install tfenv
Advertising: