Skip to content

Add install.sh: automated macOS installer for Copilot for Xcode#5

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/resume-pull-request-again
Draft

Add install.sh: automated macOS installer for Copilot for Xcode#5
Copilot wants to merge 2 commits intomainfrom
copilot/resume-pull-request-again

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 26, 2026

No streamlined CLI install path exists — users must know the Homebrew cask name or navigate GitHub releases manually.

install.sh (new)

  • Validates macOS ≥ 12 and Xcode via xcode-select
  • Installs via brew install --cask copilot-for-xcode when Homebrew is present; falls back to GitHub Releases API → ZIP download → extract → copy to /Applications
  • Uses jq for JSON parsing when available, with grep/sed fallback
  • Launches the app once to register its background launch agent
  • Prints version-aware post-install steps (macOS 15 / 14 / older) for enabling the Source Editor Extension, granting Accessibility permission, and configuring an AI provider
bash <(curl -fsSL https://raw.githubusercontent.com/intitni/CopilotForXcode/main/install.sh)

README.md

  • Install section leads with the one-liner above and a security note advising script review before execution
  • Existing Homebrew and manual download instructions retained below

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: luisespersonal-byte <249453885+luisespersonal-byte@users.noreply.github.com>
Copilot AI changed the title [WIP] Resume previous pull request work Add install.sh: automated macOS installer for Copilot for Xcode Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants