# Install uv with Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Extremely fast Python package installer and resolver, written in Rust. Version 0.11.28 via Homebrew; verified 2026-07-08.

## Install

```sh
sudo av install brew:uv
```

## Agent safety answer

uv manages Python environments, dependencies, tools, and package publishing workflows.

- **Credential access:** Reads Python index credentials, environment variables, and project configuration.
- **Remote mutation:** Can install packages, resolve remote indexes, and run project commands.
- **Publish/artifact risk:** Can build or publish Python packages when paired with packaging commands.
- **Recommended control:** Gate publishing and secret-backed index access; scan project env files first.
- **Agent-use guidance:** Allow lock/test operations; require approval for publish, credentialed index writes, and script execution using secrets.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install uv
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install uv
```

  Evidence: MacPorts ports tree: devel/uv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add py3-uv
```

  Evidence: Alpine Linux edge package indexes: py3-uv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install python3-uv
```

  Evidence: Fedora Rawhide package metadata: python3-uv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#uv
```

  Evidence: nixpkgs package indexes: pkgs/by-name/uv/uv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S uv
```

  Evidence: Arch Linux sync databases: uv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install python311-uv
```

  Evidence: openSUSE Tumbleweed package metadata: python311-uv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install uv
```

  Evidence: Chocolatey community package catalog: uv from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','upx'

- Scoop (92%):

```sh
scoop install main/uv
```

  Evidence: Scoop official bucket manifest trees: bucket/uv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id astral-sh.uv -e
```

  Evidence: Windows Package Manager source index: astral-sh.uv from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:uv
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/uv>
- **Version:** 0.11.28
- **Source summary:** Extremely fast Python package installer and resolver, written in Rust
- **Homepage:** <https://docs.astral.sh/uv/>
- **Repository:** <https://github.com/astral-sh/uv>
- **Upstream docs:** <https://docs.astral.sh/uv>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/astral-sh/uv/archive/refs/tags/0.11.28.tar.gz>
- **Last updated:** 2026-07-08T01:42:41Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- uv (cli)
- uvx (cli)
- uv (alias)
- uvx (alias)

## Build dependencies

- pkgconf
- rust

## Uses from macOS

- bzip2
- xz

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.11.28
- Package-manager updated: 2026-07-08
- Local data: ok
- Upstream repository: https://github.com/astral-sh/uv
- Upstream latest detected: 0.11.28 (current)
## Project history and usage

uv is Astral's Rust-written Python package and project manager. It began as a fast installer and resolver for pip and pip-tools workflows, then expanded into a unified interface for dependency resolution, virtual environments, project management, scripts, tools, and Python installation.

### Project history

Astral announced uv in February 2024 as the next tool in the same high-performance Python-tooling line as Ruff. The initial public framing was deliberately pragmatic: support common pip and pip-tools APIs under `uv pip`, provide a resolver, virtual environment creator, installer, sync command, and do so without requiring projects to rewrite their packaging workflow.

In August 2024 Astral announced a larger expansion of uv, describing it as moving beyond a pip alternative into an end-to-end solution for Python projects, command-line tools, single-file scripts, and Python itself. The official documentation later presented uv as a single tool replacing or overlapping pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and related pieces of the Python packaging stack.

### Adoption history

uv's adoption path was shaped by compatibility and speed rather than by a new packaging format alone. Astral emphasized that the first release was production-ready for existing pip and pip-tools workflows and required little configuration for those users.

Package-manager adoption followed the same low-friction pattern. The official installation documentation lists standalone installers, PyPI installation, Homebrew, MacPorts, WinGet, Scoop, Docker images, and other distribution routes, making uv easy to place in developer laptops, CI images, and reproducible build environments.

### How it is used

For package-nerd workflows, uv is commonly used as a faster `pip install`, `pip compile`, `pip sync`, `venv`, and `pipx`-style tool runner. In project mode, it centers dependency state around `pyproject.toml` and `uv.lock`, while retaining a `uv pip` interface for requirements-file and environment-oriented workflows.

The official docs call out a global cache, Cargo-style workspaces, cross-platform installation, and integrations for Docker, GitHub Actions, GitLab CI/CD, pre-commit, PyTorch, FastAPI, Bazel, and several private package registries. Those are the surfaces that made uv especially interesting to people who care about resolver behavior, lockfiles, build reproducibility, and CI runtime.

### Why package nerds care

uv matters in package-manager culture because it compressed several long-standing Python packaging pain points into one fast executable: resolution, installation, environment creation, lockfile generation, tool execution, and Python runtime management. Its significance is not just that it is fast, but that it made speed available through familiar pip-shaped entry points before asking users to adopt its fuller project model.

It also accelerated the Rust-based rewrite trend in Python infrastructure. Like Ruff for linting and formatting, uv made performance a central product argument and forced comparisons with older Python-native tools such as pip-tools, Poetry, PDM, pipx, and virtualenv.

### Timeline

- 2024-02: Astral announced uv as a fast Python package installer and resolver written in Rust.
- 2024-08: Astral announced uv's expansion into unified Python packaging, including projects, tools, scripts, and Python installation.
- 2024-2026: Official docs list uv across standalone installers, PyPI, Homebrew, MacPorts, WinGet, Scoop, Docker, and CI integrations.

### Related projects

- Ruff is Astral's earlier Rust-written Python linter and formatter and is the closest sibling in toolchain philosophy.
- pip, pip-tools, pipx, Poetry, PDM, pyenv, twine, and virtualenv are the tools uv explicitly overlaps with or replaces in common Python packaging workflows.

### Sources

- <https://astral.sh/blog/uv - Astral's February 2024 uv announcement describes the initial pip and pip-tools replacement goal, Rust implementation, resolver/installer focus, and production-use framing.>
- <https://astral.sh/blog/uv-unified-python-packaging - Astral's August 2024 announcement describes the expansion from pip alternative to unified Python packaging.>
- <https://docs.astral.sh/uv/ - Official uv documentation summarizes the tool, supported platforms, cache, workspaces, and installation routes.>
- <https://docs.astral.sh/uv/getting-started/installation/ - Official installation docs list package-manager and installer distribution routes.>
- <https://docs.astral.sh/uv/pip/ - Official docs describe the `uv pip` interface as a drop-in surface for pip, pip-tools, and virtualenv workflows.>


## Security Notes

No matching local secret-handling manifest was found for uv. Nucleus package metadata is still published here so future coverage has a stable package URL.

- **Approval gate rules:** 6


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Unix: ~/.local/share/uv/credentials/credentials.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** uv
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - uv: normalized package name match | nixpkgs package indexes: pkgs/by-name/uv/uv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - py3-uv - 0.11.19-r0: normalized package name match | Alpine Linux edge package indexes: py3-uv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Extremely fast Python package installer and resolver, written in Rust (python module) | https://github.com/astral-sh/uv
- apk - py3-uv-pyc - 0.11.19-r0: normalized package name match | Alpine Linux edge package indexes: py3-uv-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for py3-uv | https://github.com/astral-sh/uv
- apk - uv - 0.11.19-r0: normalized package name match | Alpine Linux edge package indexes: uv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Extremely fast Python package installer and resolver, written in Rust | https://github.com/astral-sh/uv
- apk - uv-bash-completion - 0.11.19-r0: normalized package name match | Alpine Linux edge package indexes: uv-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for uv | https://github.com/astral-sh/uv
- apk - uv-fish-completion - 0.11.19-r0: normalized package name match | Alpine Linux edge package indexes: uv-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for uv | https://github.com/astral-sh/uv
- apk - uv-zsh-completion - 0.11.19-r0: normalized package name match | Alpine Linux edge package indexes: uv-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for uv | https://github.com/astral-sh/uv
- dnf - python3-uv - 0.11.19-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-uv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Importable Python module for uv | https://github.com/astral-sh/uv
- dnf - uv - 0.11.19-3.fc45: normalized package name match | Fedora Rawhide package metadata: uv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | An extremely fast Python package installer and resolver, written in Rust | https://github.com/astral-sh/uv
- pacman - uv - 0.11.19-1: normalized package name match | Arch Linux sync databases: uv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An extremely fast Python package installer and resolver written in Rust | https://github.com/astral-sh/uv
- zypper - python311-uv - 0.11.19-1.1: normalized package name match | openSUSE Tumbleweed package metadata: python311-uv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Python package installer and resolver, written in Rust | https://github.com/astral-sh/uv
- zypper - python313-uv - 0.11.19-1.1: normalized package name match | openSUSE Tumbleweed package metadata: python313-uv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Python package installer and resolver, written in Rust | https://github.com/astral-sh/uv
- zypper - python314-uv - 0.11.19-1.1: normalized package name match | openSUSE Tumbleweed package metadata: python314-uv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Python package installer and resolver, written in Rust | https://github.com/astral-sh/uv
- MacPorts - uv: normalized package name match | MacPorts ports tree: devel/uv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - uv: normalized package name match | Chocolatey community package catalog: uv from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','upx'
- Scoop - main/uv: normalized package name match | Scoop official bucket manifest trees: bucket/uv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [fastmcp](https://www.automicvault.com/pkg/brew/fastmcp/) - Popular package that depends on this formula.
- [hatch](https://www.automicvault.com/pkg/brew/hatch/) - Popular package that depends on this formula.
- [johnnydep](https://www.automicvault.com/pkg/brew/johnnydep/) - Popular package that depends on this formula.
- [conan](https://www.automicvault.com/pkg/brew/conan/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager, python.
- [conda-lock](https://www.automicvault.com/pkg/brew/conda-lock/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager, python.
- [orogene](https://www.automicvault.com/pkg/brew/orogene/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager, rust.
- [pdm](https://www.automicvault.com/pkg/brew/pdm/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager, python.
- [poetry](https://www.automicvault.com/pkg/brew/poetry/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager, python.
- [wally](https://www.automicvault.com/pkg/brew/wally/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager, rust.
- [akku](https://www.automicvault.com/pkg/brew/akku/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [bower](https://www.automicvault.com/pkg/brew/bower/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [ruff](https://www.automicvault.com/pkg/brew/ruff/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, extremely, fast.
- [ty](https://www.automicvault.com/pkg/brew/ty/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, extremely, fast.

## Combined YAML source

View the package source record on GitHub. [combined/uv.yml](https://github.com/automic-vault/db/blob/main/combined/uv.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- approval-gate seed metadata
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
