Use this guide when you need a clean installation of GitHub Copilot for Xcode on a Mac.
- macOS 12 or later
- A version of Xcode that supports Source Editor Extensions
- A GitHub account with GitHub Copilot access, or BYOK provider credentials if you plan to use external models
brew install --cask github-copilot-for-xcode- Download the latest DMG from the latest release.
- Drag
GitHub Copilot for Xcodeinto/Applications. - Launch the app once so macOS can register the helper processes and extension.
- Open
GitHub Copilot for Xcodefrom/Applications. - Accept the macOS security prompt for the downloaded app.
- Allow the background item used to connect the host app and the Xcode extension.
- Turn on
Accessibilityaccess when prompted. - Open
Extension Permissionfrom the app settings and enableGitHub CopilotunderXcode Source Editor. - Start Xcode and verify that
Editor > GitHub Copilotis available.
- In the app, click
Sign in. - Complete the browser-based device flow with the GitHub account that owns your Copilot entitlement.
- Return to the app after authorization finishes.
If you want to use your own model provider credentials, continue with the configuration guide and the existing BYOK reference.
- Use
Check for Updatesfrom the app or status menu. - Restart Xcode after installing an update.
- If you reinstall from a DMG, relaunch the app once before reopening Xcode.
If setup fails, use the repository's troubleshooting guide for permission, login item, and extension issues.