# Version Manager

> A tool that keeps a few versions of a language and lets you switch.

**Field:** Software Development  
**Category:** Editors & Tools  
**Also known as:** Runtime Version Manager, nvm, pyenv, Node Version Manager

## Think of it like

It is like a shoe rack. You keep a few sizes and grab the pair that fits today.

## Definition

A version manager is a tool that keeps several versions of a language on one computer. It lets you switch between them, for each project or each terminal. nvm does this for Node.js and pyenv does it for Python. A small file in the project can name the version it needs. The manager then picks it for you.

## Example

Jack's work app needs an older Node.js, and his own app needs the newest. He runs nvm use in each folder and both work.

## Example code

```console
$ nvm install --lts
$ nvm use --lts
$ node --version
```

Install the long-term support Node.js, switch to it, then check which one is on.

## Why it matters

Each project may need its own version. Without one, you would have to take the language off and put it back each time.

## Common mistake

Installing the language the normal way as well. Two copies fight over which one runs, and the wrong one often wins.

## Three principles

- **Many versions.** Side by side on one computer.
- **Switch per project.** A file in the folder can pick the version.
- **One per language.** nvm for Node.js, pyenv for Python.

## Related terms

- [Virtual Environment](https://learn.benibix.com/term/development/virtual-environment)
- [Node.js](https://learn.benibix.com/term/development/nodejs)
- [Python](https://learn.benibix.com/term/development/python)
- [Package Manager](https://learn.benibix.com/term/development/package-manager)
- [Environment (Software)](https://learn.benibix.com/term/development/environment)

## Told apart from

- [Virtual Environment vs Version Manager](https://learn.benibix.com/compare/virtual-environment-vs-version-manager): People think a virtual environment picks the Python version, and it does not. It keeps the packages of one project apart from the rest. A version manager picks which version of the language runs. Many projects use both: one for Python itself, one for its packages.

## Taught in

- [Virtual Environments and uv](https://learn.benibix.com/learn/development-tools/virtual-environments-and-uv): Coding Tools, 11/13

![Two project folders side by side on one computer. Project A has its own box marked .venv holding requests 2.31, and uses Python 3.12. Project B has its own box marked .venv holding requests 2.20, and uses Python 3.10. A version manager sits above both and switches the language version as you move between them. A note says each project keeps its own packages, so one cannot break the other.](https://learn.benibix.com/diagrams/dev-environments.svg)

---

Source: https://learn.benibix.com/term/development/version-manager
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
