Skip to content

Commit 583dabc

Browse files
committed
docs: improve clarity and compatibility of installation instructions
- Update installation instructions to use process substitution with bash for improved compatibility - Clarify script description by removing the word "automatically" - Specify that the program is added to "your PATH" instead of just "PATH" to improve clarity in instructions Signed-off-by: appleboy <[email protected]>
1 parent 61c37aa commit 583dabc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ choco install codegpt
8787

8888
```sh
8989
# Download and run the install script
90-
curl -sSL https://raw.githubusercontent.com/appleboy/CodeGPT/main/install.sh | bash
90+
bash < <(curl -sSL https://raw.githubusercontent.com/appleboy/CodeGPT/main/install.sh)
9191
```
9292

9393
Or download and run manually:

README.zh-cn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ choco install codegpt
7676

7777
```sh
7878
# 下载并执行安装脚本
79-
curl -sSL https://raw.githubusercontent.com/appleboy/CodeGPT/main/install.sh | bash
79+
bash < <(curl -sSL https://raw.githubusercontent.com/appleboy/CodeGPT/main/install.sh)
8080
```
8181

8282
或手动下载后执行:
@@ -86,11 +86,11 @@ chmod +x install.sh
8686
./install.sh
8787
```
8888

89-
该脚本会自动
89+
该脚本会
9090

9191
1. 检测您的操作系统和架构
9292
2. 下载最新版二进制文件
93-
3. 将程序加入 PATH
93+
3. 将程序加入您的 PATH
9494

9595
可以从 [发布页面](https://github.com/appleboy/CodeGPT/releases) 下载预编译的二进制文件。将二进制文件权限更改为 `755` 并将其复制到系统 bin 目录。使用如下所示的 `codegpt` 命令。
9696

README.zh-tw.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ choco install codegpt
8787

8888
```sh
8989
# 下載並執行安裝腳本
90-
curl -sSL https://raw.githubusercontent.com/appleboy/CodeGPT/main/install.sh | bash
90+
bash < <(curl -sSL https://raw.githubusercontent.com/appleboy/CodeGPT/main/install.sh)
9191
```
9292

9393
或手動下載後執行:
@@ -97,11 +97,11 @@ chmod +x install.sh
9797
./install.sh
9898
```
9999

100-
此腳本會自動
100+
此腳本會
101101

102102
1. 偵測您的作業系統與架構
103103
2. 下載最新版二進位檔案
104-
3. 將程式加入 PATH
104+
3. 將程式加入您的 PATH
105105

106106
### 預編譯二進制文件
107107

0 commit comments

Comments
 (0)