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.5
In 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

Taught in

References