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