Installation
This course’s main path is Visual Studio Code + a GitHub account. GitHub also supports Visual Studio, JetBrains, Vim/Neovim, Xcode, Eclipse, and more—follow Installing the GitHub Copilot extension for those IDEs.
You need a GitHub account and access via Copilot Free or a paid plan (see Introduction). If you have no plan yet, VS Code’s first-time AI setup usually offers Copilot Free.
Install VS Code
Install the latest stable build from code.visualstudio.com/Download.
Windows: run the installer; adding VS Code to PATH is useful. Confirm in PowerShell 7:
macOS: drag VS Code into Applications. If code is missing in the terminal: Command Palette (Cmd+Shift+P) → Shell Command: Install 'code' command in PATH.
Open a folder (the repo root), not a single loose file. Workspace context for Chat is the folder.
Install the GitHub Copilot extension
Officially there are two equivalent paths: get the Copilot extensions installed and sign in with GitHub.
Path A: Status bar (official first-run)
- Open VS Code and hover the Copilot icon in the Status Bar.
- Choose Use AI Features (wording follows your build).
- Pick a sign-in method. The required extensions install automatically the first time—you do not have to hunt the Marketplace first.
Details: VS Code’s Set up GitHub Copilot in VS Code.
Path B: Marketplace (when you want the plugin explicitly)
- Open Extensions:
Ctrl+Shift+Xon Windows,Cmd+Shift+Xon macOS. - Search GitHub Copilot (publisher GitHub).
- Install. Current VS Code includes Chat with that setup; if GitHub Copilot Chat still appears as a separate listing, follow that page.
- Or open Marketplace: GitHub Copilot and click Install.
Trust the Marketplace page for the extension ID; it is commonly GitHub.copilot.
Sign in with GitHub
No sign-in means no completions and no Chat.
- Use Accounts in the Activity Bar, or Sign in to use Copilot / Sign in with GitHub to use GitHub Copilot from the Status Bar Copilot menu.
- From the Command Palette you can run GitHub Copilot: Sign in.
- In the browser, approve the permissions GitHub asks for VS Code / Copilot.
- Back in the editor, the Copilot Status Bar icon should show you as signed in.
Windows and macOS share the same browser OAuth flow. If a corporate proxy blocks github.com / api.github.com, allow those hosts first—see Network settings for GitHub Copilot.
To switch accounts: Accounts → Sign out, then sign in again. Per-workspace identities are documented in VS Code under “Use a different GitHub account.”
GitHub Enterprise (GHE.com): choose Continue with GHE.com and enter the instance URL. Managed users may need github.copilot.advanced authProvider first—see Using GitHub Copilot with an account on GHE.com.
Optional: JetBrains
In a compatible IDE (IntelliJ IDEA, PyCharm, WebStorm, …):
- Settings / Preferences → Plugins → Marketplace, search GitHub Copilot, install, restart.
- Tools → GitHub Copilot → Login to GitHub.
- Copy and Open the device code, paste it in the browser, Authorize GitHub Copilot Plugin.
- Return to the IDE and click OK.
Compatibility follows JetBrains Marketplace: GitHub Copilot. You can skip the plugin and use JetBrains AI Assistant or Copilot CLI instead—see Using GitHub Copilot in JetBrains IDEs.
Optional: Visual Studio (Windows)
You need Visual Studio 2022 17.8+. Newer builds (17.10 onward) ship a unified Copilot component. Add your GitHub account to the Visual Studio keychain—see Microsoft’s Install GitHub Copilot in Visual Studio. Visual Studio for Mac is retired; do not treat it as a path.
Quick checklist
Organization accounts: admins can disable Chat, CLI, or the cloud agent. If the extension is green but a feature is grey, ask about org policy before reinstalling VS Code.
Troubleshooting
Signed in but no ghost text?
Confirm the language is not disabled and Copilot is not paused in the Status Bar. You can trigger suggestions from the Command Palette. Still nothing: Troubleshooting common issues with GitHub Copilot.
This company repo must not use AI?
VS Code can turn built-in AI off with chat.disableAIFeatures at user or workspace scope. Orgs can also set content exclusion—see GitHub’s docs.
Reading before installing?
Skim the examples in Quick Start, then run them after setup.