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.