LinuxCommandLibrary

uv-python

Manage Python versions and installations.

TLDR

List all available Python installations

$ uv python list
copy


Install a Python version
$ uv python install [version]
copy


Uninstall a Python version
$ uv python uninstall [version]
copy


Search for a Python installation
$ uv python find [version]
copy


Pin the current project to use a specific Python version
$ uv python pin [version]
copy


Show the uv Python installation directory
$ uv python dir
copy

Copied to clipboard