linux下配置uv阿里镜像

1.创建目录和文件

bash 复制代码
mkdir -p ~/.config/uv
vim ~/.config/uv/uv.toml

2.uv.toml写入内容

bash 复制代码
[[index]]
url = "https://mirrors.aliyun.com/pypi/simple/"
default = true