Skip to content

Commit 04fc04b

Browse files
committed
feat!: simplify install command by removing curl TLS flags
Remove `--proto '=https'` and `--tlsv1.2` from the one-click install curl commands in README and install.sh. Modern curl defaults are sufficient; these flags add friction without meaningful security benefit in this context. BREAKING CHANGE: install command URL format has changed — update any bookmarks or CI scripts that copy-paste the old curl invocation.
1 parent ed7554f commit 04fc04b

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ Pre-built binaries are available for **Linux**, **macOS**, and **Windows** (`amd
6868
**macOS / Linux / WSL**
6969

7070
```bash
71-
curl -fsSL --proto '=https' --tlsv1.2 \
72-
https://raw.githubusercontent.com/the-open-agent/openagent/master/scripts/install.sh | bash
71+
curl -fsSL https://raw.githubusercontent.com/the-open-agent/openagent/master/scripts/install.sh | bash
7372
```
7473

7574
**Windows (PowerShell)**

scripts/install.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/usr/bin/env bash
22
# OpenAgent one-step install: download the release binary for your platform.
33
# Usage:
4-
# curl -fsSL --proto '=https' --tlsv1.2 \
5-
# https://raw.githubusercontent.com/the-open-agent/openagent/master/scripts/install.sh | bash
4+
# curl -fsSL https://raw.githubusercontent.com/the-open-agent/openagent/master/scripts/install.sh | bash
65
#
76
# Optional environment variables:
87
# OPENAGENT_VERSION e.g. v1.777.3 (default: latest release)
@@ -59,7 +58,7 @@ TMPDIR="$(mktemp -d)"
5958
trap 'rm -rf "${TMPDIR}"' EXIT
6059

6160
info "Downloading ${URL} ..."
62-
curl -fsSL --proto '=https' --tlsv1.2 -o "${TMPDIR}/openagent" "${URL}"
61+
curl -fsSL -o "${TMPDIR}/openagent" "${URL}"
6362
chmod 755 "${TMPDIR}/openagent"
6463

6564
# ── install ──────────────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)