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