Allison from GitHub presents a comprehensive update on GitHub Copilot CLI, describing key feature enhancements, expanded AI model support, code search improvements, and upgrades to image handling and automation for developers.

GitHub Copilot CLI: New Models, Enhanced Code Search, and Better Image Support

Author: Allison

GitHub Copilot CLI has received a series of updates focused on improving developer productivity and AI integration.

Latest AI Models Now Available

  • New Model Support:
    • GPT-5.1, GPT-5.1-Codex, and GPT-5.1-Codex-Mini from OpenAI
    • Gemini 3.5 Pro from Google
  • Developers can utilize the latest advances in generative AI for more accurate and contextual results.
  • Enhanced Search Capabilities:
    • Copilot CLI now integrates ripgrep as well as classic grep and glob tools.
    • Searches are now faster and provide more relevant context for code suggestions.

Better Image Support

  • Images can now be added to Copilot’s context directly by pasting or using drag-and-drop, in addition to @-mentioning image files.
  • This streamlines workflows that rely on visual context.

Additional Developer Enhancements

  • Session Sharing: /share command saves chat sessions as Markdown files or GitHub gists.
  • Permission Handling: Removed unnecessary checks for heredocs and special characters.
  • Shell Command Support: Improved compatibility with ! commands in PowerShell.
  • Automation: Headless -p mode now exits with nonzero codes on errors to better support scripting and automation.
  • UI Improvements: Enhanced output formatting for /session, whitespace, and UI styling.
  • Notifications: Added support for MCP server tool notifications.
  • Long-Running Shell Commands: Improved performance and stability.

Reliability and Bug Fixes

  • Eliminated memory leaks in long shell sessions.
  • Bugfixes around agent configuration.
  • Improved Ctrl+C and abort operation handling.
  • Removed internal NODE_ENV collision in Node projects.
  • Fixed Windows Terminal keyboard input problems.
  • More informative error messages for unsupported models.
  • UI color printing resolved on first launch.

Getting the Update

  • Update CLI: npm install -g @github/copilot@latest
  • Feedback is encouraged via the /feedback command or GitHub issues in the public repo.

The GitHub team thanks the community for ongoing feedback as Copilot CLI continues to evolve.

This post appeared first on “The GitHub Blog”. Read the entire article here