uv, uv-{python,tool}: add page (#13491)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: spageektti <git@spageektti.cc>
This commit is contained in:
Pranav Mangal
2024-08-22 03:34:10 +05:30
committed by GitHub
parent bceb4b932d
commit ef2ee5eaac
3 changed files with 89 additions and 0 deletions

24
pages/common/uv-tool.md Normal file
View File

@@ -0,0 +1,24 @@
# uv tool
> Install and run commands provided by Python packages.
> More information: <https://docs.astral.sh/uv/reference/cli/#uv-tool>.
- Run a command from a package, without installing it:
`uv tool run {{command}}`
- Install a Python package system-wide:
`uv tool install {{package}}`
- Upgrade an installed Python package:
`uv tool upgrade {{package}}`
- Uninstall a Python package:
`uv tool uninstall {{package}}`
- List Python packages installed system-wide:
`uv tool list`