mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 20:45:49 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/uv-python
Normal file
33
tldr/uv-python
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user