asdf プラグイン asdf-python で Python の複数バージョンをインストールして管理する方法をご紹介します。
 
M1 macOS に python をインストールする必要があり、複数バージョン管理を見越して asdf-python を利用することにしました。
まず、asdf のインストール [M1 macOS 編] を完了しておきます。
asdf plugin add python https://github.com/asdf-community/asdf-python.git
asdf list-all pythonasdf install python latest
asdf list python
 *3.12.1
以上、asdf で Python の複数バージョン管理を始めた、現場からお送りしました。