Improvement

January 21, 20261 Minute Read

Install and Use GitHub Copilot CLI directly from the GitHub CLI

GitHub CLI users can now run gh copilot to install and run the GitHub Copilot CLI.

Since we deprecated the GitHub Copilot in the CLI extension in favor of the new agentic GitHub Copilot CLI, we want to give developers using gh a simple way to get started using our most powerful terminal assistant.

  • gh copilot will prompt to install Copilot CLI when run for the first time
  • gh copilot will execute the Copilot CLI, forwarding any args and flags that the gh command does not support.

Further details can be found in the GitHub CLI’s release notes.

Install or update the GitHub CLI today from your preferred source.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Install and Use GitHub Copilot CLI directly from the GitHub CLI - GitHub Changelog