HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

uv tool — Install and run commands provided by Python packages. More information: <https://docs.astral.sh/uv/r

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandruncommandsandprovidedinstallcliuv tool

Problem

How to use the uv tool command: Install and run commands provided by Python packages. More information: <https://docs.astral.sh/uv/reference/cli/#uv-tool>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/uv tool

Revisions (0)

No revisions yet.