Skip to content

Commit bf5e47c

Browse files
YangSen-qnYangSen-qn
and
YangSen-qn
authored
chore: change README (#19)
Co-authored-by: YangSen-qn <yangsen@qiniu.com>
1 parent 2631fef commit bf5e47c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,18 @@ Server 来访问七牛云存储、智能多媒体服务等。
1717
# Mac,推荐使用 brew 安装
1818
brew install uv
1919

20-
# Linux & Mac,安装后注意把安装的包路径(uv 和 uvx 所保存的路径)加入环境变量 PATH 中,
21-
# 例如在 Mac 中,把安装的包路径 /Users/xxx/.local/bin 添加到 PATH 中,export PATH="/Users/xxx/.local/bin:$PATH",长期使用需添加到启动脚本中,例如:$Home/.bash_profile 中
20+
21+
# Linux & Mac
22+
# 1. 安装
2223
curl -LsSf https://astral.sh/uv/install.sh | sh
24+
# 2. 安装完成后,请确保将软件包安装路径(包含 uv 和 uvx 可执行文件的目录)添加到系统的 PATH 环境变量中。
25+
# 假设安装包路径为 /Users/xxx/.local/bin(见安装执行输出)
26+
### 临时生效(当前会话),在当前终端中执行以下命令:
27+
export PATH="/Users/xxx/.local/bin:$PATH"
28+
### 永久生效(推荐),在当前终端中执行以下命令:
29+
echo 'export PATH="/Users/xxx/.local/bin:$PATH"' >> ~/.bash_profile
30+
source ~/.bash_profile
31+
2332

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

0 commit comments

Comments
 (0)