pyenv-uninstall(1)

pyenv-uninstall1

Uninstall python versions

Usage

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

Overview

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.

Options

-f, --force

Uninstall the specified version without prompting for confirmation.

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

Examples

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

Authors

Written by Yamashita, Yuu <[email protected]>, Sam Stephenson <[email protected]>.

This manual page was written by Josenison F. da Silva <[email protected]> for the Debian project (but may be used by others).

From pyenv 2.5.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.