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 the python-build tool 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 🧚

pyenv(1), python-build(1)

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