Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 42 additions & 14 deletions install.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,34 +53,62 @@ gh aw init

**What this does**: Configures `.gitattributes`, creates the dispatcher agent, and sets up Copilot setup steps.

## Step 3: Clone Autoloop and Copy Files
## Step 3: Download Autoloop and Copy Files

Clone the Autoloop repository and copy its files into this repo:
Download the Autoloop source as a zip and copy the files you need into this repo. This avoids a `git clone` (no `.git` history is downloaded, and `git` is not required) and works on Linux, macOS, and Windows.

```bash
git clone https://github.com/githubnext/autoloop /tmp/autoloop
```
Use the snippet for your shell:

Copy the workflow definitions:
<details open>
<summary><strong>Linux &amp; macOS (bash / zsh)</strong></summary>

```bash
cp -r /tmp/autoloop/workflows/ .github/workflows/
# Download and extract (no git history)
curl -fL https://github.com/githubnext/autoloop/archive/refs/heads/main.zip -o /tmp/autoloop.zip
unzip -q /tmp/autoloop.zip -d /tmp/autoloop_extract

# Create target directories
mkdir -p .github/workflows .github/ISSUE_TEMPLATE .autoloop/programs

# Copy files
cp -R /tmp/autoloop_extract/autoloop-main/workflows/. .github/workflows/
cp -R /tmp/autoloop_extract/autoloop-main/.github/ISSUE_TEMPLATE/. .github/ISSUE_TEMPLATE/

# Clean up
rm -rf /tmp/autoloop.zip /tmp/autoloop_extract
```

Copy the issue template and create the Autoloop directories:
If `unzip` is not installed (e.g. some minimal Linux images), replace the `unzip` line above with this `tar` command — it extracts zip archives on macOS and most modern Linux distributions:

```bash
mkdir -p .github/ISSUE_TEMPLATE
cp -r /tmp/autoloop/.github/ISSUE_TEMPLATE/ .github/ISSUE_TEMPLATE/
mkdir -p .autoloop/programs
mkdir -p /tmp/autoloop_extract && tar -xf /tmp/autoloop.zip -C /tmp/autoloop_extract
```

Clean up:
</details>

```bash
rm -rf /tmp/autoloop
<details>
<summary><strong>Windows (PowerShell)</strong></summary>

```powershell
# Download and extract (no git history)
Invoke-WebRequest -Uri "https://github.com/githubnext/autoloop/archive/refs/heads/main.zip" -OutFile "$env:TEMP\autoloop.zip"
Expand-Archive -Path "$env:TEMP\autoloop.zip" -DestinationPath "$env:TEMP\autoloop_extract" -Force

# Create target directories
New-Item -ItemType Directory -Force -Path ".github/workflows", ".github/ISSUE_TEMPLATE", ".autoloop/programs" | Out-Null

# Copy files
Copy-Item -Path "$env:TEMP\autoloop_extract\autoloop-main\workflows\*" -Destination ".github/workflows/" -Recurse -Force
Copy-Item -Path "$env:TEMP\autoloop_extract\autoloop-main\.github\ISSUE_TEMPLATE\*" -Destination ".github/ISSUE_TEMPLATE/" -Recurse -Force

# Clean up
Remove-Item -Path "$env:TEMP\autoloop.zip", "$env:TEMP\autoloop_extract" -Recurse -Force
```

</details>

> **Note:** The snippets above download the latest `main` branch. To pin to a specific version, replace `refs/heads/main` with `refs/tags/<tag>` and the `autoloop-main` folder name with `autoloop-<tag>`.

## Step 4: Compile the Workflows

```bash
Expand Down
Loading