Skip to content

Commit 8d71762

Browse files
fix(docs): Document CLI installation using the edgepython CDN.
1 parent 048a87d commit 8d71762

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/actions/cdn-deploy/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ runs:
5353
cp -r "$dir"/. "_site/host/$cap/"
5454
done
5555
56-
# cli: release tarballs.
56+
# cli: release tarballs + the install/uninstall scripts, served under cdn.edgepython.com/cli/.
5757
cp -r /tmp/cli/. _site/cli/
58+
cp cli/setup/install.sh cli/setup/uninstall.sh _site/cli/
5859
5960
- name: Deploy to Cloudflare Pages
6061
uses: cloudflare/wrangler-action@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Native modules ship via three delivery paths (CDN `.wasm`, host capability, JS h
5252
download it to your machine ([reference docs](https://edgepython.com/reference/cli)):
5353

5454
```bash
55-
curl -fsSL https://dylan-sutton-chavez.github.io/edge-python/install.sh | sh
55+
curl -fsSL https://cdn.edgepython.com/cli/install.sh | sh
5656

5757
edge -h # List all commands
5858
```

cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ edge uninstall # remove the binary, PATH entry, optionally Chromium
1818

1919
```bash
2020
# Prebuilt binary (recommended)
21-
curl -fsSL https://dylan-sutton-chavez.github.io/edge-python/install.sh | sh
21+
curl -fsSL https://cdn.edgepython.com/cli/install.sh | sh
2222

2323
# Or from source (any platform with Rust + Cargo)
2424
cargo install --path cli

docs/pages/getting-started/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Run live in your browser at [demo.edgepython.com](https://demo.edgepython.com/).
2525
Or download it to your machine ([reference docs](/reference/cli)):
2626

2727
```bash
28-
curl -fsSL https://dylan-sutton-chavez.github.io/edge-python/install.sh | sh
28+
curl -fsSL https://cdn.edgepython.com/cli/install.sh | sh
2929

3030
edge -h # List all commands
3131
```

docs/pages/reference/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ The runtime does the actual work; `edge` is the loop around it. It launches syst
2323

2424
```bash
2525
# Prebuilt binary (recommended)
26-
curl -fsSL https://dylan-sutton-chavez.github.io/edge-python/install.sh | sh
26+
curl -fsSL https://cdn.edgepython.com/cli/install.sh | sh
2727

2828
# Or from source (any platform with Rust and Cargo)
2929
cargo install --path cli
3030
```
3131

32-
`install.sh` drops the binary at `~/.local/bin/edge` and appends that directory to your `~/.bashrc` or `~/.zshrc` if it isn't already on `PATH`. Open a new shell (or `source` the file it printed) and `edge --version` should work. Re-run the same `curl … | sh` line any time to upgrade. To remove everything: `curl -fsSL https://dylan-sutton-chavez.github.io/edge-python/uninstall.sh | sh` (asks before touching Chromium).
32+
`install.sh` drops the binary at `~/.local/bin/edge` and appends that directory to your `~/.bashrc` or `~/.zshrc` if it isn't already on `PATH`. Open a new shell (or `source` the file it printed) and `edge --version` should work. Re-run the same `curl … | sh` line any time to upgrade. To remove everything: `curl -fsSL https://cdn.edgepython.com/cli/uninstall.sh | sh` (asks before touching Chromium).
3333

3434
`install.sh` also provisions Chromium if it isn't already on `PATH`. It reads `/etc/os-release` and uses the host's package manager (`apt`, `dnf`, `pacman`, `zypper`, `apk`, or `brew --cask` on macOS); `sudo` is invoked only when not running as root. On an unsupported distro, install Chrome/Chromium manually or set `EDGE_CHROME_PATH=/path/to/chrome`. See [Bring your own browser](#bring-your-own-browser).
3535

0 commit comments

Comments
 (0)