UV(1)

πŸ“¦ version 0.11.20, in ubuntu stonking

πŸ’– UV(1) β€” the user commands one πŸ’–

okay so bestie, welcome to section 1 of the manual (the User Commands one, iykyk) and this is literally all about uv. buckle up. πŸŽ€


✨ NAME ✨

uv β€” an extremely fast Python package installer and resolver. like, it's serving speed. πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

uv [OPTIONS] <COMMAND>

πŸ’… DESCRIPTION πŸ’…

An extremely fast Python package manager. that's the whole vibe. she does everything and she does it fast. periodt. πŸ‘‘

🌸 Commands: 🌸

these are the main character subcommands, pick your fighter:

  • auth β€” deal with authentication. πŸ”
  • run β€” run a command or a script.
  • init β€” make a brand new project.
  • add β€” add dependencies to the project.
  • remove β€” take dependencies back out of the project.
  • version β€” read or update the project's version.
  • sync β€” update the project's environment.
  • lock β€” update the project's lockfile.
  • export β€” export the project's lockfile into an alternate format.
  • tree β€” show the project's dependency tree. 🌳
  • format β€” format the Python code in the project.
  • check β€” run checks on the project.
  • audit β€” audit the project's dependencies.
  • tool β€” run and install commands that Python packages provide.
  • python β€” manage Python versions and installations.
  • pip β€” manage Python packages through a pip-compatible interface.
  • venv β€” create a virtual environment.
  • build β€” build Python packages into source distributions and wheels.
  • publish β€” upload distributions to an index. πŸš€
  • workspace β€” inspect uv workspaces.
  • cache β€” manage uv's cache.
  • self β€” manage the uv executable itself.
  • help β€” display documentation for a command. (yes she documents herself, icon behaviour.)

πŸ“ Cache options: πŸ“

  • -n, --no-cache β€” don't read from the cache and don't write to it either; instead she uses a temporary directory just for the duration of the operation. [env: UV_NO_CACHE=]
  • --cache-dir <CACHE_DIR> β€” the path to the cache directory. [env: UV_CACHE_DIR=]

🧚 Python options: 🧚

  • --managed-python β€” require that you use uv-managed Python versions. [env: UV_MANAGED_PYTHON=]
  • --no-managed-python β€” turn off the use of uv-managed Python versions. [env: UV_NO_MANAGED_PYTHON=]
  • --no-python-downloads β€” turn off 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 whether colour gets used 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=]
  • --no-progress β€” hide every progress output. [env: UV_NO_PROGRESS=]
  • --directory <DIRECTORY> β€” change into the given directory before running the command. [env: UV_WORKING_DIR=]
  • --project <PROJECT> β€” discover a project inside the given directory. [env: UV_PROJECT=]
  • --config-file <CONFIG_FILE> β€” the path to a uv.toml file to use for configuration. [env: UV_CONFIG_FILE=]
  • --no-config β€” don't discover configuration files (pyproject.toml, uv.toml). [env: UV_NO_CONFIG=]
  • -h, --help β€” display the concise help for this command.
  • -V, --version β€” display the uv version.
✨ and if you want more details? use uv help. she'll tell you everything, no gatekeeping. 🫢

okay that's the whole page, bestie, you ate that. πŸ’– this was uv version 0.11.20+ds, from August 2026 β€” see you in the next one, slay! πŸŒˆπŸ‘‘βœ¨

πŸ“¦ where this page comes from