pyenv: Python Version Manager
by Tim Hopper
pyenv is a command line tool for installing and switching between different versions of the Python interpreter. It is based on a rbenv, a tool for managing Ruby interpreters.
pyenv allows the user to install many different versions of the CPython interpreter (e.g. Python 2.7.18, 3.12.0), Anaconda/Miniconda, PyPy, and others.
pyenv users can then select a version to run globally, for a particular user, or for a particular project/folder.
Related Handbook Pages
- How do pyenv and uv compare for Python interpreter management?
- How to switch from pyenv to uv for managing Python versions
- What is a .python-version file?
- pyenv-virtualenv reference
Learn More
Also Mentioned In
- uv: A Complete Guide to Python's Fastest Package Manager
- Hynek Schlawack's uv Workflow Guide
- Production Experiences with uv
- How do pyenv and uv compare for Python interpreter management?
- How do uv and Poetry compare?
- pyenv-virtualenv: Python Virtual Environment Plugin
- Should I use Homebrew to install Python?
- uv: Python Package and Project Manager
- venv: Python Built-in Virtual Environment Module
- virtualenv: Python Virtual Environment Tool
- What is a .python-version file?
- Why You Should Try uv if You Use Python
Get Python tooling updates
Subscribe to the newsletterLast updated on