程序员の奇妙冒险

返回
人工智能AI MacOS UV 人工智能AI
2025-09-01 11:58 阅读:100 评论:0

Mac OS 安装 uv

brew 安装 pip 安装 curl 安装

brew 安装

1
brew install uv

pip 安装

1
pip install uv

curl 安装

1
2
3
4
5
6
7
8
# 用 UV_INSTALL_DIR 环境变量 指定安装目录
# curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin" sh
 
# github 源
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.8.14/uv-installer.sh | sh
 
# 官网源,很难安装
curl -LsSf https://astral.sh/uv/install.sh | sh
评论 (0)
暂无评论 来抢沙发吧~