人工智能AIMacOSUV人工智能AI
2025-09-01 11:58阅读:45评论:0
Mac OS 安装 uv
brew 安装 pip 安装 curl 安装
_PROTECTED0__
1
2
brew install uv _PROTECTED0__
1
2
pip install uv _PROTECTED0__
1
2
3
4
5
6
7
8
9
# 用 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