I’ll introduce how to install and manage multiple versions of Python using the asdf plugin asdf-python.
Background: Python Version Management with asdf
I needed to install Python on M1 macOS, and decided to use asdf-python in anticipation of managing multiple versions.
Prerequisites: Installing asdf
First, complete Installing asdf [M1 macOS Edition].
Installing the asdf-python Plugin
asdf plugin add python https://github.com/asdf-community/asdf-python.git
List of Python Versions Available with asdf-python
asdf list-all python
Installing Python with asdf
asdf install python latest
asdf list python
*3.12.1
That’s all from the Gemba, where I started managing multiple Python versions with asdf.