DOKK / manpages / debian 13 / pyenv / pyenv-uninstall.1.en
PYENV-UNINSTALL(1) User Commands PYENV-UNINSTALL(1)

pyenv-uninstall - Uninstall Python versions

pyenv uninstall [-f | --force] <version> ...

The pyenv uninstall command removes one or more specified Python versions installed by pyenv. The command attempts to uninstall the given version of Python, and if the -f or --force option is provided, it removes the version without asking for confirmation. If the version doesn't exist, it doesn't display an error message.

Uninstall the specified version without prompting for confirmation.

If the version doesn't exist, no error is displayed.

To uninstall a specific version of Python:

$ pyenv uninstall 3.8.5

To uninstall multiple versions of Python:

$ pyenv uninstall 3.7.9 3.8.5

To force the uninstallation of a version without a prompt:

$ pyenv uninstall --force 3.7.9

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).

February 2025 pyenv-uninstall manual