Automic VaultAutomic Vault

brew / 审批门

使用 Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, scoop, winget, zypper 安装 uv

查看 uv 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

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

凭据访问

Reads Python index credentials, environment variables, and project configuration.

远程变更

Can install packages, resolve remote indexes, and run project commands.

发布/制品风险

Can build or publish Python packages when paired with packaging commands.

推荐控制

Gate publishing and secret-backed index access; scan project env files first.

代理使用指南

Allow lock/test operations; require approval for publish, credentialed index writes, and script execution using secrets.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install uv

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install uv

MacPorts ports tree · devel/uv/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add uv

Alpine Linux edge package indexes · uv · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install uv

Fedora Rawhide package metadata · uv · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#uv

nixpkgs package indexes · pkgs/by-name/uv/uv/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S uv

Arch Linux sync databases · uv · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install python311-uv

openSUSE Tumbleweed package metadata · python311-uv · 来源: download.opensuse.org

概览

软件包摘要

Extremely fast Python package installer and resolver, written in Rust

命令和别名

  • uv
  • uvx

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

来源

审批门

高风险命令的人工审核元数据

本地审批门种子包含 6 条适用于 uv 的规则。覆盖的入口点:uv, uvx。严重级别:严重, 高, 中。覆盖状态:partial,审核于 2026-05-21。

受控操作示例

  • Publish distributions to a Python package index.
  • Install Python packages into an environment.
  • Remove Python packages from an environment.
  • Resolve dependencies and execute a command or script.
  • Synchronize an environment to lockfile or project metadata.
  • Download and execute a Python tool package.

local files

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

Credential-bearing paths to review before unattended agent runs.

Unix
~/.local/share/uv/credentials/credentials.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
uvcli全局可执行文件
uvxcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.11.28
管理器更新时间2026-07-08
本地数据OK
上游当前
检测到的最新版本0.11.28

https://github.com/astral-sh/uv

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:uv
版本0.11.28
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/uv
主页https://docs.astral.sh/uv/
仓库https://github.com/astral-sh/uv
上游文档https://docs.astral.sh/uv
许可证Apache-2.0 OR MIT
源码归档https://github.com/astral-sh/uv/archive/refs/tags/0.11.28.tar.gz
最后更新2026-07-08T01:42:41Z
Pulseupdated
构建依赖pkgconf, rust
macOS 提供的库bzip2, xz
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameuv
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

uv

nix profile install nixpkgs#uv
  • normalized package name match
  • 匹配方式:Uv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/uv/uv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

py3-uv 0.11.19-r0

Extremely fast Python package installer and resolver, written in Rust (python module)

https://github.com/astral-sh/uv

sudo apk add py3-uv
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: uv
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Uv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-uv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

py3-uv-pyc 0.11.19-r0

Precompiled Python bytecode for py3-uv

https://github.com/astral-sh/uv

sudo apk add py3-uv-pyc
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: uv
  • 1 依赖
  • normalized package name match
  • 匹配方式:Uv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-uv-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uv 0.11.19-r0

Extremely fast Python package installer and resolver, written in Rust

https://github.com/astral-sh/uv

sudo apk add uv
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: uv
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Uv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uv-bash-completion 0.11.19-r0

Bash completions for uv

https://github.com/astral-sh/uv

sudo apk add uv-bash-completion
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: uv
  • normalized package name match
  • 匹配方式:Uv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uv-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uv-fish-completion 0.11.19-r0

Fish completions for uv

https://github.com/astral-sh/uv

sudo apk add uv-fish-completion
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: uv
  • normalized package name match
  • 匹配方式:Uv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uv-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uv-zsh-completion 0.11.19-r0

Zsh completions for uv

https://github.com/astral-sh/uv

sudo apk add uv-zsh-completion
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: uv
  • normalized package name match
  • 匹配方式:Uv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uv-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

python3-uv 0.11.19-3.fc45

Importable Python module for uv

https://github.com/astral-sh/uv

sudo dnf install python3-uv
  • License: 0BSD AND (0BSD OR Apache-2.0 OR MIT) AND Apache-2.0 AND (Apache-2.0 OR BSD-2-Clause) AND (Apache-2.0 OR BSD-2-Clause OR MIT) AND (Apache-2.0 OR BSL-1.0) AND
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: uv
  • 2 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Uv
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

uv 0.11.19-3.fc45

An extremely fast Python package installer and resolver, written in Rust

https://github.com/astral-sh/uv

sudo dnf install uv
  • License: 0BSD AND (0BSD OR Apache-2.0 OR MIT) AND Apache-2.0 AND (Apache-2.0 OR BSD-2-Clause) AND (Apache-2.0 OR BSD-2-Clause OR MIT) AND (Apache-2.0 OR BSL-1.0) AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: uv
  • 7 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Uv
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: uv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

uv 0.11.19-1

An extremely fast Python package installer and resolver written in Rust

https://github.com/astral-sh/uv

sudo pacman -S uv
  • License: MIT AND Apache-2.0
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Uv
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: uv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

python311-uv 0.11.19-1.1

A Python package installer and resolver, written in Rust

https://github.com/astral-sh/uv

sudo zypper install python311-uv
  • License: Apache-2.0 OR MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: python-uv
  • 7 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Uv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python311-uv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

python313-uv 0.11.19-1.1

A Python package installer and resolver, written in Rust

https://github.com/astral-sh/uv

sudo zypper install python313-uv
  • License: Apache-2.0 OR MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: python-uv
  • 7 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Uv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-uv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

python314-uv 0.11.19-1.1

A Python package installer and resolver, written in Rust

https://github.com/astral-sh/uv

sudo zypper install python314-uv
  • License: Apache-2.0 OR MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: python-uv
  • 7 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Uv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python314-uv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

uv

sudo port install uv
  • normalized package name match
  • 匹配方式:Uv
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/uv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

uv

choco install uv
  • normalized package name match
  • 匹配方式:Uv
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: uv from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','upx'
Scoop95%

main/uv

scoop install main/uv
  • normalized package name match
  • 匹配方式:Uv
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/uv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

Combined YAML source

View the package source record on GitHub.

combined/uv.yml

使用的来源

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