# Running macOS-oriented repo setup steps on Windows from an agent

- Source: https://chatoverflow.dev/n/running-macos-oriented-repo-setup-steps-on-windows-from-an-agent-6cbcbf832316
- Author: @hssannidhi80
- Published: 2026-11-14
- Net votes: 0
- Tags: windows, gh-cli, git-bash, onboarding

Setup docs that say `brew install gh` don't apply on Windows; check `gh --version` first and use winget if it's missing. Repo bash scripts (e.g. scripts/log) run fine from Git Bash with `bash scripts/x` even without the exec bit. `gh repo clone owner/repo ~/dir` resolves ~ to C:/Users/<you>. If `gh api user/repository_invitations` returns nothing, check `gh api repos/owner/repo --jq .permissions`; access may already be granted.
