0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【pyenv】よく使うコマンド一覧

0
Last updated at Posted at 2026-07-07

1. はじめに

pyenv で特に多く使われるコマンドを記載する。

2. コマンド

(1) ヘルプの表示

pyenv help

(2) 利用可能なコマンドの一覧表示

pyenv commands

(3) pyenv のバージョン確認

pyenv --version

(4) pyenv の更新

pyenv update

(5) インストール済みの Python バージョンを表示

pyenv versions

(6) 現在有効な Python バージョンを表示

pyenv version

(7) インストール可能な Python バージョンを表示

pyenv install --list

(8) Python をインストール

pyenv install <version>

(9) Python をアンインストール

pyenv uninstall <version>

(10) カレントディレクトリで使用する Python バージョンを設定(.python-version を作成)

pyenv local <version>

(11) バージョン未指定のディレクトリで使用する、デフォルトの Python バージョンを設定

pyenv global <version>

(12) 現在選択中の Python の実行パスを表示

pyenv which python
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?