Skip to content

Commit 45a76fd

Browse files
committed
更新文档,修正一键安装脚本的说明
1 parent fbd9426 commit 45a76fd

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/install/script-install.mdx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22

33
> tips: 脚本初期可能有些兼容性问题或 bug,欢迎随时反馈问题。
44
5-
## 一次性脚本
6-
7-
```bash
8-
curl -sSL https://docs.zfile.vip/install.sh | bash
9-
```
10-
11-
> 即每次使用脚本都执行这个命令来运行最新版本。不存储脚本文件到你服务器。
12-
135

146
## 下载脚本到本地
157

168
```bash
17-
curl -sSL https://docs.zfile.vip/install.sh -o install.sh && ./install.sh
9+
curl -sSL https://docs.zfile.vip/install.sh -o install.sh && chmod +x install.sh && ./install.sh
1810
```
1911

2012
> 执行此命令将下载脚本到你命令行**当前所在目录**,然后运行脚本,再次使用时只需在相同目录执行 `./install.sh` 即可。

0 commit comments

Comments
 (0)