PYENV-INSTALL(1)
π pyenv-install β the girlies' guide to installing Python π
okay so real quick, this is pyenv-install, a lil member of the User Commands crew, and it's the manual page for installing Python versions with python-build. she's cute, she's powerful, she compiles stuff from source like it's nothing. periodt. π
β¨ NAME β¨
pyenv-install β install a Python version using python-build ππ
πΈ SYNOPSIS πΈ
pyenv install [options] <version>...
pyenv install [options] <definition-file>
pyenv install -l | --list
pyenv install --version
so basically: give her one or more versions, or a definition file, or just ask her what's available. she's flexible like that πββοΈ
π¦ DESCRIPTION π¦
the pyenv install command lets you install Python versions using python-build, which is literally the tool that compiles and installs Python versions from source. yes bestie, from source. she's building it herself. main character energy fr fr π₯
π OPTIONS π
-l,--listβ show every single version you could possibly install. the whole menu, no gatekeeping π-f,--forceβ install the version anyway, even if it's already sitting there installed. she said no, I'm doing it again π-s,--skip-existingβ if it's already installed, just skip it. no drama, no redo π«Ά-k,--keepβ keep the source tree chillin' in the build root directory after the install finishes. she's sentimental about her files πΈ-p,--patchβ apply a patch that comes in from standard input before building. patch first, build after β¨-v,--verboseβ verbose mode ON, so she tells you every lil detail while installing. she's a yapper and we love her for it π--versionβ shows the version of thepython-buildtool itself π-g,--debugβ debug mode, for super detailed logging of the whole installation process. detective mode activated π
π EXAMPLES π
want a specific version of Python, like Python 3.9.6? say less:
$ pyenv install 3.9.6
want the whole list of available Python versions? here you go bestie:
$ pyenv install --list
want to force an install even though the version is already installed? she'll do it, she's stubborn:
$ pyenv install -f 3.8.10
want Python 3.7.9 and to keep the source tree after installation? aesthetic:
$ pyenv install -k 3.7.9
π§ SEE ALSO π§
iykyk π
π 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).
ok that's the whole page bestie, you're officially certified in pyenv install ππ now go install a Python and slay β¨
pyenv-install manual Β· February 2025 Β· that's the vibe, that's the date, that's the whole footer π«Ά
π¦ where this page comes from
- debian trixie: pyenv 2.5.4-1 Β· MIT
- ubuntu questing: pyenv 2.5.4-1build1
- ubuntu resolute: pyenv 2.6.8-1 Β· MIT
- ubuntu stonking: pyenv 2.7.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms