pyenv install <python version>

Install a Python version

Arguments

NameDescription
python version

Options

NameDescription
-l, --listList all available versions
-f, --forceInstall even if the version appears to be installed already
-s, --skip-existingSkip the installation if the version appears to be installed already
-k, --keepKeep source tree in $PYENV_BUILD_ROOT after installation
-v, --verboseVerbose mode: print compilation status to stdout
-p, --patchApply a patch from stdin before building
-g, --debugBuild a debug version