{"repo":"tfutils/tfenv","free":true,"listed":false,"github":"https://github.com/tfutils/tfenv","clone":"git clone https://github.com/tfutils/tfenv.git","description":"Terraform version manager","language":"Shell","stars":4960,"topics":["terraform","bash"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"tfenv Terraform version manager inspired by rbenv --- Table of Contents - Supported Platforms - Installation - Usage - tfenv install - tfenv use - tfenv uninstall - tfenv list - tfenv list-remote - tfenv pin - Environment Variables - .terraform-version File - Upgrading - Uninstalling - Contributing - Security - License --- Supported Platforms - macOS - 64bit - Arm (Apple Silicon) - Linux - 64bit - Arm - Windows (64bit) - tested in git-bash. Ensure core.symlinks is enabled ( git config --global core.symlinks true ) Installation Automatic Install via Homebrew Install via Arch User Repository (AUR) Install via puppet Using puppet module sergk-tfenv Manual 1. Check out tfenv into any path (here is ${HOME}/.tfenv ) 2. Add /.tfenv/bin to your $PATH any way you like bash: zsh: fish: For WSL users: OR you can make symlinks for tfenv/bin/ scripts into a path that is already added to your $PATH (e.g. /usr/local/bin ) OSX/Linux Only! On Ubuntu/Debian touching /usr/local/bin might require sudo access, but you can create ${HOME}/bin or ${HOME}/.local/bin and on next login it will get added to the session $PATH or by running . ${HOME}/.profile it will get added to the current shell session's $PATH . Usage tfenv install [version] Install a specific version of Terraform. If no parameter is passed, the version to use is resolved automatically via TFENV\\ TERRAFORM\\ VERSION environment variable or .terraform-version files, in that order of precedence, i.e. TFENV\\ TERRAFORM\\ VERSION, then .terra","default_branch":null,"files":null,"tree":[],"storefront":"/r/tfutils","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tfutils/tfenv/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}