Skip to content

Commit bb92631

Browse files
authored
Merge pull request #16 from githubnext/copilot/fix-install-md-curl-bash
Replace `curl | bash` with `gh extension install` in install.md
2 parents 19d4288 + 248e942 commit bb92631

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)