GitHub CLI 2.86.0
ghSince 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, then run Copilot CLIgh copilot <args> will execute the Copilot CLI, forwarding any arguments and flagsFor more information and usage options, run gh copilot --help.
gh copilot: add native copilot command 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/12376copilot command tests by @babakks in https://github.com/cli/cli/pull/12500Full Changelog: https://github.com/cli/cli/compare/v2.85.0...v2.86.0
Fetched April 8, 2026