Skip to content

Commit 961142a

Browse files
mpywclaude
andcommitted
docs: improve deb/rpm install examples with version variables
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c11c9cf commit 961142a

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,19 @@ scoop install sql-http-proxy
2828
## Debian / Ubuntu
2929

3030
```bash
31-
# Download the latest .deb package from GitHub Releases
32-
curl -LO https://github.com/mpyw/sql-http-proxy/releases/latest/download/sql-http-proxy_VERSION-1_amd64.deb
33-
sudo dpkg -i sql-http-proxy_VERSION-1_amd64.deb
31+
export VERSION=1.0.0
32+
export ARCH=amd64 # or arm64
33+
curl -LO "https://github.com/mpyw/sql-http-proxy/releases/download/v${VERSION}/sql-http-proxy_${VERSION}-1_${ARCH}.deb"
34+
sudo dpkg -i "sql-http-proxy_${VERSION}-1_${ARCH}.deb"
3435
```
3536

3637
## RHEL / Fedora
3738

3839
```bash
39-
# Download the latest .rpm package from GitHub Releases
40-
curl -LO https://github.com/mpyw/sql-http-proxy/releases/latest/download/sql-http-proxy-VERSION-1.x86_64.rpm
41-
sudo rpm -i sql-http-proxy-VERSION-1.x86_64.rpm
40+
export VERSION=1.0.0
41+
export ARCH=x86_64 # or aarch64
42+
curl -LO "https://github.com/mpyw/sql-http-proxy/releases/download/v${VERSION}/sql-http-proxy-${VERSION}-1.${ARCH}.rpm"
43+
sudo rpm -i "sql-http-proxy-${VERSION}-1.${ARCH}.rpm"
4244
```
4345

4446
## Binary Download (Linux / macOS)

0 commit comments

Comments
 (0)