UVX(1)
okay so bestie, welcome to the manual page for uvx β it lives in section 1, User Commands, and it's about to become your whole personality π«Ά
πΈ NAME πΈ
uvx β run commands in isolated Python environments β¨
π¦ SYNOPSIS π¦
uvx [OPTIONS] [COMMAND]
π DESCRIPTION π
Run a command provided by a Python package. That's it, that's the whole vibe. You point it at a package, it spins up a lil isolated world, and the command just runs. No cap. π
π OPTIONS π
β¨ the main-character options β¨
--from <FROM>β use this package to provide the command you want π«-w,--with <WITH>β run with these packages installed too--with-editable <WITH_EDITABLE>β same energy but the packages get installed in editable mode--with-requirements <WITH_REQUIREMENTS>β run with whatever packages are listed in the files you hand over-c,--constraints <CONSTRAINTS>β pin versions down using the given requirements files [env:UV_CONSTRAINT=]-b,--build-constraints <BUILD_CONSTRAINTS>β constrain the build dependencies with the given requirements files when building source distributions [env:UV_BUILD_CONSTRAINT=]--overrides <OVERRIDES>β override versions using the given requirements files [env:UV_OVERRIDE=]--isolatedβ run the tool in its own isolated virtual environment, ignoring any tools you already have installed (fr, a fresh start) [env:UV_ISOLATED=]--env-file <ENV_FILE>β load environment variables from a.envfile [env:UV_ENV_FILE=]--no-env-fileβ do NOT read environment variables from a.envfile, we're not doing that today π [env:UV_NO_ENV_FILE=]--lfsβ whether to use Git LFS when adding a dependency from Git--python-platform <PYTHON_PLATFORM>β the platform you're installing requirements for [possible values:windows,linux,macos,x86_64-pc-windows-msvc,aarch64-pc-windows-msvc,i686-pc-windows-msvc,x86_64-unknown-linux-gnu,aarch64-apple-darwin,x86_64-apple-darwin,aarch64-unknown-linux-gnu,aarch64-unknown-linux-musl,x86_64-unknown-linux-musl,riscv64-unknown-linux,x86_64-manylinux2014,x86_64-manylinux_2_17,x86_64-manylinux_2_28,x86_64-manylinux_2_31,x86_64-manylinux_2_32,x86_64-manylinux_2_33,x86_64-manylinux_2_34,x86_64-manylinux_2_35,x86_64-manylinux_2_36,x86_64-manylinux_2_37,x86_64-manylinux_2_38,x86_64-manylinux_2_39,x86_64-manylinux_2_40,aarch64-manylinux2014,aarch64-manylinux_2_17,aarch64-manylinux_2_28,aarch64-manylinux_2_31,aarch64-manylinux_2_32,aarch64-manylinux_2_33,aarch64-manylinux_2_34,aarch64-manylinux_2_35,aarch64-manylinux_2_36,aarch64-manylinux_2_37,aarch64-manylinux_2_38,aarch64-manylinux_2_39,aarch64-manylinux_2_40,aarch64-linux-android,x86_64-linux-android,wasm32-pyodide2024,wasm32-pyodide2025,arm64-apple-ios,arm64-apple-ios-simulator,x86_64-apple-ios-simulator]--torch-backend <TORCH_BACKEND>β the backend to use when fetching packages in the PyTorch ecosystem (e.g.,cpu,cu126, orauto) [env:UV_TORCH_BACKEND=] [possible values:auto,cpu,cu130,cu129,cu128,cu126,cu125,cu124,cu123,cu122,cu121,cu120,cu118,cu117,cu116,cu115,cu114,cu113,cu112,cu111,cu110,cu102,cu101,cu100,cu92,cu91,cu90,cu80,rocm7.2,rocm7.1,rocm7.0,rocm6.4,rocm6.3,rocm6.2.4,rocm6.2,rocm6.1,rocm6.0,rocm5.7,rocm5.6,rocm5.5,rocm5.4.2,rocm5.4,rocm5.3,rocm5.2,rocm5.1.1,rocm4.2,rocm4.1,rocm4.0.1,xpu]-V,--versionβ display theuvxversion π
π Index options π
--index <INDEX>β the URLs to use when resolving dependencies, on top of the default index [env:UV_INDEX]--default-index <DEFAULT_INDEX>β the URL of the default package index (by default:<https://pypi.org/simple>) [env:UV_DEFAULT_INDEX]-i,--index-url <INDEX_URL>β (Deprecated: use--default-indexinstead) the URL of the Python package index (by default:<https://pypi.org/simple>) [env:UV_INDEX_URL]--extra-index-url <EXTRA_INDEX_URL>β (Deprecated: use--indexinstead) extra URLs of package indexes to use, on top of--index-url[env:UV_EXTRA_INDEX_URL]-f,--find-links <FIND_LINKS>β locations to search for candidate distributions, on top of whatever the registry indexes turn up [env:UV_FIND_LINKS]--no-indexβ ignore the registry index (e.g., PyPI) entirely and just vibe with direct URL dependencies and the ones you gave via--find-links--index-strategy <INDEX_STRATEGY>β the strategy to use when resolving against multiple index URLs [env:UV_INDEX_STRATEGY=] [possible values:first-index,unsafe-first-match,unsafe-best-match]--keyring-provider <KEYRING_PROVIDER>β try to usekeyringfor authentication for index URLs [env:UV_KEYRING_PROVIDER=] [possible values:disabled,subprocess]
π§ Resolver options π§
-U,--upgradeβ allow package upgrades, ignoring pinned versions in any existing output file. Implies--refresh-P,--upgrade-package <UPGRADE_PACKAGE>β allow upgrades for one specific package, ignoring pinned versions in any existing output file. Implies--refresh-package--upgrade-group <UPGRADE_GROUP>β allow upgrades for every package in a dependency group, ignoring pinned versions in any existing output file--resolution <RESOLUTION>β the strategy to use when picking between different compatible versions for a given package requirement [env:UV_RESOLUTION=] [possible values:highest,lowest,lowest-direct]--prerelease <PRERELEASE>β the strategy to use when considering pre-release versions [env:UV_PRERELEASE=] [possible values:disallow,allow,if-necessary,explicit,if-necessary-or-explicit]--fork-strategy <FORK_STRATEGY>β the strategy to use when selecting multiple versions of a given package across Python versions and platforms [env:UV_FORK_STRATEGY=] [possible values:fewest,requires-python]--exclude-newer <EXCLUDE_NEWER>β limit candidate packages to the ones uploaded before the given date β° [env:UV_EXCLUDE_NEWER=]--exclude-newer-package <EXCLUDE_NEWER_PACKAGE>β limit candidate packages, but only for specific packages, to the ones uploaded before the given date--no-sourcesβ ignore thetool.uv.sourcestable when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, instead of using any workspace, Git, URL, or local path sources [env:UV_NO_SOURCES=]--no-sources-package <NO_SOURCES_PACKAGE>β don't use sources from thetool.uv.sourcestable for the packages you specify [env:UV_NO_SOURCES_PACKAGE=]
π Installer options π
--reinstallβ reinstall everything, no matter if it's already installed. Implies--refresh--reinstall-package <REINSTALL_PACKAGE>β reinstall one specific package, no matter if it's already installed. Implies--refresh-package--link-mode <LINK_MODE>β the method to use when installing packages from the global cache [env:UV_LINK_MODE=] [possible values:clone,copy,hardlink,symlink]--compile-bytecodeβ compile Python files to bytecode after installation [env:UV_COMPILE_BYTECODE=]
π₯ Build options π₯
-C,--config-setting <CONFIG_SETTING>β settings to pass to the PEP 517 build backend, written asKEY=VALUEpairs--config-settings-package <CONFIG_SETTINGS_PACKAGE>β settings to pass to the PEP 517 build backend for one specific package, written asPACKAGE:KEY=VALUEpairs--no-build-isolationβ disable isolation when building source distributions [env:UV_NO_BUILD_ISOLATION=]--no-build-isolation-package <NO_BUILD_ISOLATION_PACKAGE>β disable isolation when building source distributions for one specific package--no-buildβ don't build source distributions [env:UV_NO_BUILD=]--no-build-package <NO_BUILD_PACKAGE>β don't build source distributions for one specific package [env:UV_NO_BUILD_PACKAGE=]--no-binaryβ don't install pre-built wheels [env:UV_NO_BINARY=]--no-binary-package <NO_BINARY_PACKAGE>β don't install pre-built wheels for one specific package [env:UV_NO_BINARY_PACKAGE=]
π Cache options π
-n,--no-cacheβ avoid reading from or writing to the cache, and use a temporary directory for the duration of the operation instead [env:UV_NO_CACHE=]--cache-dir <CACHE_DIR>β path to the cache directory [env:UV_CACHE_DIR=]--refreshβ refresh all cached data π--refresh-package <REFRESH_PACKAGE>β refresh cached data for one specific package
π Python options π
-p,--python <PYTHON>β the Python interpreter to use to build the run environment. [env:UV_PYTHON=]--managed-pythonβ require use of uv-managed Python versions [env:UV_MANAGED_PYTHON=]--no-managed-pythonβ disable use of uv-managed Python versions [env:UV_NO_MANAGED_PYTHON=]--no-python-downloadsβ disable automatic downloads of Python. [env:"UV_PYTHON_DOWNLOADS=never"]
π Global options π
-q,--quiet...β use quiet output π€«-v,--verbose...β use verbose output π£οΈ--color <COLOR_CHOICE>β control the use of color in output [possible values:auto,always,never]--system-certsβ whether to load TLS certificates from the platform's native certificate store [env:UV_SYSTEM_CERTS=]--offlineβ disable network access [env:UV_OFFLINE=]--allow-insecure-host <ALLOW_INSECURE_HOST>β allow insecure connections to a host [env:UV_INSECURE_HOST=]
bestie, that one's literally named "insecure", so likeβ¦ be aware, okay? π
--no-progressβ hide all progress outputs [env:UV_NO_PROGRESS=]--directory <DIRECTORY>β change to the given directory before running the command [env:UV_WORKING_DIR=]--project <PROJECT>β discover a project in the given directory [env:UV_PROJECT=]--config-file <CONFIG_FILE>β the path to auv.tomlfile to use for configuration [env:UV_CONFIG_FILE=]--no-configβ avoid discovering configuration files (pyproject.toml,uv.toml) [env:UV_NO_CONFIG=]-h,--helpβ display the concise help for this command
Use uv help tool run for more details.
and that's the whole page, bestie, you ate that π
this was uvx version 0.11.20+ds, dated August 2026 β go be iconic with it πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: uv 0.11.20+ds-0ubuntu1 Β· Apache-2.0 OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms