| 1 |
.TH PYENV-UNINSTALL 1 "February 2025" "pyenv-uninstall manual" "User Commands" |
| 2 |
.SH NAME |
| 3 |
\fBpyenv-uninstall\fR \- Uninstall Python versions |
| 4 |
|
| 5 |
.SH SYNOPSIS |
| 6 |
.B pyenv uninstall |
| 7 |
[\fB-f\fR | \fB--force\fR] <\fBversion\fR> ... |
| 8 |
|
| 9 |
.SH DESCRIPTION |
| 10 |
The \fBpyenv uninstall\fR command removes one or more specified Python versions |
| 11 |
installed by pyenv. The command attempts to uninstall the given version of |
| 12 |
Python, and if the \fB-f\fR or \fB--force\fR option is provided, it removes |
| 13 |
the version without asking for confirmation. If the version doesn't exist, it |
| 14 |
doesn't display an error message. |
| 15 |
|
| 16 |
.SH OPTIONS |
| 17 |
.TP |
| 18 |
\fB-f\fR, \fB--force\fR |
| 19 |
Uninstall the specified version without prompting for confirmation. |
| 20 |
|
| 21 |
If the version doesn't exist, no error is displayed. |
| 22 |
|
| 23 |
.SH EXAMPLES |
| 24 |
To uninstall a specific version of Python: |
| 25 |
|
| 26 |
.EX |
| 27 |
\fB$ pyenv uninstall 3.8.5\fR |
| 28 |
.EE |
| 29 |
|
| 30 |
To uninstall multiple versions of Python: |
| 31 |
|
| 32 |
.EX |
| 33 |
\fB$ pyenv uninstall 3.7.9 3.8.5\fR |
| 34 |
.EE |
| 35 |
|
| 36 |
To force the uninstallation of a version without a prompt: |
| 37 |
|
| 38 |
.EX |
| 39 |
\fB$ pyenv uninstall --force 3.7.9\fR |
| 40 |
.EE |
| 41 |
|
| 42 |
.SH SEE ALSO |
| 43 |
.MR pyenv 1 , |
| 44 |
.MR pyenv-versions 1 |
| 45 |
|
| 46 |
.SH AUTHORS |
| 47 |
Written by Yamashita, Yuu <[email protected]>, Sam Stephenson <[email protected]>. |
| 48 |
.PP |
| 49 |
This manual page was written by Josenison F. da Silva <[email protected]> |
| 50 |
for the Debian project (but may be used by others). |