# pyenv

> Simple Python version management

Source: https://talira.ai/catalog/pyenv-6tqnn2vz
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / environment / version managers](https://talira.ai/categories/developer-tools/environment/version-managers), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: macos, linux, cli
- Licence: MIT
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes

pyenv lets you switch between multiple Python versions per user or per project. Forked from rbenv and [ruby-build](https://talira.ai/catalog/ruby-build-2k2ehfh6.md), it is written in shell and works through shims on PATH, and it installs many distributions including CPython and PyPy.

## Links

- GitHub: https://github.com/pyenv/pyenv

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/pyenv>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/pyenv>[^2]

## Problems it solves

- I need Python 3.9 for one project and 3.12 for another
- stop messing with the system Python on my Mac
- install an older Python version that Homebrew no longer has
- set a per-project Python version that switches automatically
- test my library against several Python versions locally
- install PyPy alongside CPython
- the python command points at the wrong version
- build Python from source with the right flags without doing it by hand

## Features

- global and per-project versions
- python-build installer
- multiple distributions
- env var override
- shims

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 1.00, adoption 0.93, momentum 0.73, community 1.00, backing 0.00, extensibility 0.20.

- last commit 9 days ago
- 138 commits in the last 90 days
- latest release v2.8.15 13 days ago
- 45.2k GitHub stars
- 503 contributors
- accepts sponsorship (Github, Open Collective)

## Alternatives

- [uv](https://talira.ai/catalog/uv-4x6kck1t.md): An extremely fast Python package and project manager, written in Rust.
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): dev tools, env vars, task runner
- [asdf](https://talira.ai/catalog/asdf-50ez7g9r.md): Manage multiple runtime versions with a single CLI tool, extendable via plugins
- [FVM](https://talira.ai/catalog/fvm-7wee1f05.md): Simple Flutter Version Management

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
