Tuesday, July 21, 2026

🚀 How to Install GSTACK for GitHub Copilot (Step-by-Step Guide)

Supercharge your GitHub Copilot setup with GSTACK! Whether you are working on Linux, macOS, or Windows, here is the exact guide to getting it up and running smoothly.


📥 Step 1: Clone and Run Initial Setup

Open your terminal and run the one-liner below to fetch the shallow clone and start the setup script:

git clone --single-branch --depth 1 https://github.com/garrytan/gstack ~/.copilot/skills/gstack && cd ~/.copilot/skills/gstack && ./setup


⚙️ Step 2: Running Setup on Windows

Since the ./setup script is a Bash script, Windows users will need a Bash-compatible environment to execute it properly. Pick whichever option fits your workflow best:

🔹 Option 1: Git Bash (Simplest & Recommended)

  1. Open Git Bash.
  2. Navigate to your installation path and give the script execution permissions:
cd /c/Users/YOUR_USERNAME/.copilot/skills/gstack
chmod +x setup
./setup


🔹 Option 2: Run directly from PowerShell

If you prefer staying inside PowerShell, call Bash directly using:

bash -lc "cd /c/Users/YOUR_USERNAME/.copilot/skills/gstack && ./setup"


🔹 Option 3: Using WSL (Windows Subsystem for Linux)

If you operate primarily inside WSL, run:

wsl bash -lc "cd /mnt/c/Users/YOUR_USERNAME/.copilot/skills/gstack && ./setup"


⚠️ Troubleshooting & Prerequisites

💡 Prerequisite Check: If the script fails with an error stating bun is required but not installed, install Bun first before retrying the setup.
You can install Bun via terminal:

curl -fsSL https://bun.sh/install | bash

Once installed, re-run ./setup and you'll be good to go! 🎉

Open github copilot window and cross verify hitting /office-ho


No comments: