All apps/pyenv

pyenv

pyenv

pyenv lets you easily switch between multiple versions of Python.

Runs as pyenv|macOS, Linux, Windows|github.com

Command form

ai-draft · 5 tasks · 10 fields

Use the subcommand tabs to install a Python version or set the global or local one.

Opens the form; the finished command lands at your prompt, unrun
otty gui pyenv

pyenv install

Install a Python version
Install a Python versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Version*
string
Skip if installed
--skip-existing
Verbose build
--verbose
TasksEach one presets the form for one job
Install
versionskip_existingverbose
List versions
list
ParametersOnly these flags are editable in the form
Version
For example 3.12.4.
string · positional 0
List available versions
boolean
--list-l
Reinstall if present
boolean
--force-f
Skip if installed
boolean
--skip-existing-s
Keep source tree
boolean
--keep-k
Verbose build
boolean
--verbose-v
Debug build
boolean
--debug-g

pyenv global

Set the global version
Set the global versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Version*
string
TasksEach one presets the form for one job
Set global
version
ParametersOnly these flags are editable in the form
Version
string · positional 0

pyenv local

Set the local version

Writes .python-version in the current directory.

Set the local versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Version(s)*
string
TasksEach one presets the form for one job
Set local
versions
Unset local
unset
ParametersOnly these flags are editable in the form
Version(s)
string · positional 0 · repeatable
Unset
boolean
--unset
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed pyenv against its version. A form that does not match your version is not offered.