Install GitHub Copilot in Visual Studio Code, Visual Studio, JetBrains IDEs, or Neovim
Sign in to GitHub in your editor
Subscribe to GitHub Copilot or activate an eligible free trial
Open a code file in a supported language
Start typing code or comments to trigger suggestions
Accept a suggestion with Tab or the editor’s accept shortcut
Reject a suggestion with Esc or continue typing
Use inline chat or Copilot Chat to ask coding questions
Highlight code and ask Copilot to explain, refactor, or fix it
Generate functions, tests, documentation, and boilerplate from prompts
Review all suggestions before using them
Edit suggestions to match your project’s style and requirements
Use multiple suggestions when available and choose the best one
Keep your repository and editor updated for the latest features
Configure Copilot settings in your IDE if needed
Use Copilot responsibly for security, privacy, and correctness
