1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 19:02:09 +02:00
tldr/pages/common/uv-python.md
Pranav Mangal ef2ee5eaac
uv, uv-{python,tool}: add page (#13491)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: spageektti <git@spageektti.cc>
2024-08-22 00:04:10 +02:00

28 lines
543 B
Markdown

# 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 list`
- Install 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 dir`