Skip to content

Commit 248e942

Browse files
Copilotmrjf
andauthored
fix: replace curl | bash with gh extension install in install.md
- Make `gh extension install github/gh-aw` the primary install method - Move curl-based install to collapsible fallback with download-then-execute - Use `-f` flag (fail on HTTP errors), remove `-s` (silent) flag - Update troubleshooting section reference Fixes #12 Agent-Logs-Url: https://github.com/githubnext/autoloop/sessions/a6c8d12b-6d27-417a-951f-582d4adcfce3 Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
1 parent 8caf726 commit 248e942

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

install.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,25 @@ Set up Autoloop in this repository by:
1515

1616
## Step 1: Install gh-aw CLI Extension
1717

18-
Run the installation script from the gh-aw repository:
18+
Install the gh-aw extension directly via the GitHub CLI:
1919

2020
```bash
21-
curl -sL https://raw.githubusercontent.com/github/gh-aw/main/install-gh-aw.sh | bash
21+
gh extension install github/gh-aw
2222
```
2323

24+
<details>
25+
<summary>Alternative: install via shell script</summary>
26+
27+
If `gh extension install` is unavailable, download and run the installation script manually:
28+
29+
```bash
30+
curl -fL https://raw.githubusercontent.com/github/gh-aw/main/install-gh-aw.sh -o /tmp/install-gh-aw.sh
31+
bash /tmp/install-gh-aw.sh
32+
rm -f /tmp/install-gh-aw.sh
33+
```
34+
35+
</details>
36+
2437
**Verify installation**:
2538

2639
```bash
@@ -30,7 +43,7 @@ gh aw version
3043
You should see version information displayed. If you encounter an error, check that:
3144

3245
- GitHub CLI (`gh`) is installed and authenticated
33-
- The installation script completed without errors
46+
- The installation completed without errors
3447

3548
## Step 2: Initialize Repository for Agentic Workflows
3649

@@ -123,7 +136,7 @@ Optionally, you may copy existing examples from the [`.autoloop/programs/`](.aut
123136
### gh aw not found
124137

125138
- Verify GitHub CLI is installed: `gh --version`
126-
- Re-run the installation script from Step 1
139+
- Re-run the installation command from Step 1
127140
- Check that `gh auth status` shows a valid session
128141

129142
### Compile fails

0 commit comments

Comments
 (0)