0
1

More than 3 years have passed since last update.

pyenvでバージョン一覧表示されたバージョンをインストールする

Posted at

実現したいこと

pyenv で pyenv install -lした際に表示されたバージョンを全てインストールする
ただし、*-devやa5などは、除外する

実行コマンド

pyenv install -l | grep -E "\s3.[0-9.]+$" | sort -nr | xargs -I{} pyenv install {}

補足

すべてのバージョンではなく、要件に応じて一つ一つ必要なバージョンのpythonをインストールするのが良いと思います。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1