Merge pull request #35 from johnd0e/patch-1

README: Make download links always point to the latest release
This commit is contained in:
Guillermo Kardolus
2024-03-21 14:42:16 -04:00
committed by GitHub

View File

@@ -72,31 +72,31 @@ system and architecture:
#### Apple M1 chips
```shell
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/download/v1.5.0/chatgpt-darwin-arm64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/latest/download/chatgpt-darwin-arm64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
```
#### macOS Intel chips
```shell
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/download/v1.5.0/chatgpt-darwin-amd64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/latest/download/chatgpt-darwin-amd64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
```
#### Linux (amd64)
```shell
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/download/v1.5.0/chatgpt-linux-amd64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/latest/download/chatgpt-linux-amd64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
```
#### Linux (arm64)
```shell
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/download/v1.5.0/chatgpt-linux-arm64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/latest/download/chatgpt-linux-arm64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
```
#### Windows (amd64)
Download the binary
from [this link](https://github.com/kardolus/chatgpt-cli/releases/download/v1.5.0/chatgpt-windows-amd64.exe) and add it
from [this link](https://github.com/kardolus/chatgpt-cli/releases/latest/download/chatgpt-windows-amd64.exe) and add it
to your PATH.
Choose the appropriate command for your system, which will download the binary, make it executable, and move it to your