← 返回命令列表

Linux command

uv-python 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List available Python versions

uv python list

Install Python version

uv python install [version]

Uninstall Python version

uv python uninstall [version]

Find Python executable

uv python find [version]

Pin Python version

uv python pin [version]

说明

uv python manages Python installations. Download, install, and switch between Python versions. Provides hermetic Python management without system Python.

参数

list
Show available versions.
install _version_
Install Python version.
uninstall _version_
Remove Python version.
find _version_
Find Python executable.
pin _version_
Set project Python version.
dir
Show Python install directory.

FAQ

What is the uv-python command used for?

uv python manages Python installations. Download, install, and switch between Python versions. Provides hermetic Python management without system Python.

How do I run a basic uv-python example?

Run `uv python list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list do in uv-python?

Show available versions.