Python 包与环境管理工具 uv 安装

Python About 655 words

安装 uv

macOS 与 Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows

PowerShell中执行。

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

更新 uv

uv self update

查看版本

uv --version

为什么叫 uv

uv=Ultraviolet(紫外线):短、快、Astral风格。简短且在 PyPI 上能用的名字。

Yeah for me it's short for "ultraviolet" though we liked that there were a few different possible interpretations. We wanted something that was (1) available on PyPI and elsewhere, (2) had minimal conflicts with other software projects, and (3) was easy to type!

官方文档

https://docs.astral.sh/uv

GitHub

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

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

Views: 7 · Posted: 2026-06-13

———         Thanks for Reading         ———

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓
Prev Post
Today In History
Browsing Refresh