Use GitHub Copilot CLI
Understand the different ways you can use GitHub Copilot in your terminal.
Using GitHub Copilot CLI
Learn how to use GitHub Copilot from the command line.
Allowing and denying tool use
Control which tools Copilot CLI can use to avoid unintended changes.
Connecting GitHub Copilot CLI to VS Code
Connect Copilot CLI to VS Code to share context, trust settings, and output.
Delegating tasks to Copilot
Use autopilot mode, or the /delegate slash command, to get Copilot to work autonomously on your behalf.
Rolling back changes made during a GitHub Copilot CLI session
Rewind your Copilot CLI session to a previous prompt to undo changes and restore your repository to a previous state.
Invoking custom agents
Use custom agents, skills, and MCP servers in Copilot CLI to extend its capabilities.
Steering agents in GitHub Copilot CLI
Guide Copilot during task execution to keep work on track with your intent.
Steering a GitHub Copilot CLI session from another device
Enable remote access to a Copilot CLI session so you can monitor progress, respond to prompts, and continue working from GitHub.com or GitHub Mobile.
Requesting a code review with GitHub Copilot CLI
Use Copilot CLI to review your code changes directly from the terminal.
Managing pull requests with the /pr command
Use the /pr slash command to view, create, and fix pull requests directly from Copilot CLI.
Speeding up task completion with the /fleet command
Learn how you can speed up the completion of a multi-step implementation plan by using the /fleet slash command.
Using GitHub Copilot CLI session data
Resume previous Copilot CLI sessions, use the /chronicle slash command to get insights from your session history, and ask Copilot questions about your CLI usage.