logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pyenv-install - Install a Python version using python-build

Authors

       Written by Yamashita, Yuu <peek824545201@gmail.com>, Sam Stephenson <sam@sls.name>.

       This manual page was written by Josenison F. da Silva <nilsonfsilva@hotmail.com> for the  Debian  project
       (but may be used by others).

pyenv-install manual                              February 2025                                 PYENV-INSTALL(1)

Description

       The  pyenvinstall command allows you to install Python versions using python-build, a tool for compiling
       and installing Python versions from source.

Examples

       To install a specific version of Python, such as Python 3.9.6:

       $pyenvinstall3.9.6

       To list all available Python versions:

       $pyenvinstall--list

       To force the installation of a version even if it is already installed:

       $pyenvinstall-f3.8.10

       To install Python 3.7.9 and keep the source tree after installation:

       $pyenvinstall-k3.7.9

Name

pyenv-install - Install a Python version using python-build

Options

-l, --list
              List all available versions that can be installed.

       -f, --force
              Install the version even if it is already installed.

       -s, --skip-existing
              Skip the installation if the version is already installed.

       -k, --keep
              Keep the source tree in the build root directory after installation.

       -p, --patch
              Apply a patch from standard input before building.

       -v, --verbose
              Enable verbose mode, printing detailed information during installation.

       --version
              Show the version of the python-build tool.

       -g, --debug
              Enable debug mode for detailed logging of the installation process.

See Also

pyenv(1), python-build(1)

Synopsis

pyenvinstall [options] <version>...

       pyenvinstall [options] <definition-file>

       pyenvinstall-l | --listpyenvinstall--version

See Also