:copilot: Install and run GitHub Copilot CLI directly from gh
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 copilotwill prompt to install, then run Copilot CLIgh copilot <args>will execute the Copilot CLI, forwarding any arguments and flags
For more information and usage options, run gh copilot --help.
What's Changed
✨ Features
gh copilot: add nativecopilotcommand to execute/install copilot cli by @devm33 in https://github.com/cli/cli/pull/12444gh cache delete: allow for delete all caches for a ref by @davidspek in https://github.com/cli/cli/pull/12101gh pr create: error when head and base refs are identical in pr create by @majiayu000 in https://github.com/cli/cli/pull/12376
📚 Docs & Chores
- Fix Windows asset URL in
copilotcommand tests by @babakks in https://github.com/cli/cli/pull/12500 - Update contributing guidelines for clarity by @BagToad in https://github.com/cli/cli/pull/12505
New Contributors
- @devm33 made their first contribution in https://github.com/cli/cli/pull/12444
- @davidspek made their first contribution in https://github.com/cli/cli/pull/12101
Full Changelog: https://github.com/cli/cli/compare/v2.85.0...v2.86.0
Fetched April 8, 2026
