LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

uvx

Run Python tools in ephemeral environments

TLDR

Run Python tool
$ uvx [ruff] [check] [.]
copy
Run specific version
$ uvx [package]@[version] [args]
copy
Run with extras
$ uvx --with [extra] [package]
copy
Run from git
$ uvx [git+https://github.com/repo/tool]
copy

SYNOPSIS

uvx [--with extras] package[@version] [args]

DESCRIPTION

uvx is a shorthand for uv tool run that executes Python command-line tools in temporary, isolated environments without permanently installing them. It is similar to pipx run but leverages uv's Rust-based resolver for dramatically faster execution.Each invocation creates an ephemeral virtual environment, installs the requested tool and its dependencies, runs the command, and then discards the environment. This ensures tools don't conflict with each other or with project dependencies. Specific versions can be pinned using the @version syntax.uvx is part of the uv Python package manager ecosystem and is useful for running one-off tools like linters, formatters, and code generators without cluttering the system with permanent installations.

PARAMETERS

package

Package to run.
--with EXTRA
Include extra.
--from SOURCE
Install source.
--python VER
Python version.

INSTALL

sudo dnf install uv
copy
sudo pacman -S uv
copy
sudo apk add uv
copy
brew install uv
copy
nix profile install nixpkgs#uv
copy

CAVEATS

Requires uv. Python ecosystem. May download packages.

HISTORY

uvx is part of uv, the fast Python package manager, providing ephemeral tool execution similar to pipx.

SEE ALSO

uv(1), pipx(1), python(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid