version manager
A tool that keeps several versions of a program installed and switches between them per project.
In more detail
A small file in each project names the version it needs, and the manager runs the right one automatically. Examples are asdf and mise, which handle many tools, and single-tool managers such as tfenv.
Examples
tfenv install 1.10.5
tfenv use 1.10.5In Terraform: Different Terraform projects often pin different versions with required_version, so teams use a version manager such as tfenv, asdf or mise. A small file in each project names the version, and the manager runs the right binary automatically.Related terms
- required_version — The setting in the terraform block that says which Terraform versions may run this configuration.
- binary — A compiled program file that a computer runs directly, as opposed to the source code it was built from.
- package manager — A tool that installs, updates and removes software together with what it depends on, such as apt on Debian, apk on Alpine or Homebrew on macOS.
Taught in
- Installing Terraform And Meeting The CLI — Infrastructure as Code with Terraform