docs(bash): 更新 README 中的 curl 命令示例

- 在所有 curl 命令中添加 -L 选项以支持重定向
- 添加 -f 选项以在发生错误时返回非零退出代码
- 保留 -sS 选项以保持静默模式并显示错误信息
This commit is contained in:
2025-07-02 19:21:16 +08:00
parent 4b5071fd05
commit da5d99372a
4 changed files with 2698 additions and 3 deletions

29
uv/README.md Normal file
View File

@@ -0,0 +1,29 @@
# uv
## macOS and Linux 安装
1. 设置 `INSTALLER_BASE_URL` 环境变量
```bash
export INSTALLER_BASE_URL=https://b.sugarscat.cn
```
2. 安装 `uv`
```bash
curl -LsSf https://i.sugarscat.cn/me/script/-/raw/main/uv/install.sh | sh
```
## Windows 安装
1. 设置 `INSTALLER_BASE_URL` 环境变量
```bash
set INSTALLER_BASE_URL=https://b.sugarscat.cn
```
2. 安装 `uv`
```bash
powershell -ExecutionPolicy ByPass -c "irm https://i.sugarscat.cn/me/script/-/raw/main/uv/install.ps1 | iex"
```