snippetbashTip
uv python — Manage Python versions and installations. More information: <https://docs.astral.sh/uv/reference/cli
Viewed 0 times
commandpythonandversionsinstallationsclimanageuv python
Problem
How to use the
uv python command: Manage Python versions and installations. More information: <https://docs.astral.sh/uv/reference/cli/#uv-python>.Solution
uv python — Manage Python versions and installations. More information: <https://docs.astral.sh/uv/reference/cli/#uv-python>.List all available Python installations:
uv python listInstall a Python version:
uv python install {{version}}Uninstall a Python version:
uv python uninstall {{version}}Search for a Python installation:
uv python find {{version}}Pin the current project to use a specific Python version:
uv python pin {{version}}Show the
uv Python installation directory:uv python dirCode Snippets
List all available Python installations
uv python listInstall a Python version
uv python install {{version}}Uninstall a Python version
uv python uninstall {{version}}Search for a Python installation
uv python find {{version}}Pin the current project to use a specific Python version
uv python pin {{version}}Context
tldr-pages: common/uv python
Revisions (0)
No revisions yet.