Asking GitHub Copilot questions in Windows Terminal
You can use Copilot in Windows Terminal to get suggestions and explanations for the command line.
In this article
Prerequisites
- Access to GitHub Copilot. SeeWhat is GitHub Copilot?.
- Windows Terminal Canary installed. For installation instructions, seeInstalling Windows Terminal Canary.
- GitHub Copilot connected to Terminal Chat. SeeQuickstart for GitHub Copilot.
If you have access to GitHub Copilot via your organization or enterprise, you cannot use Copilot in Windows Terminal if your organization owner or enterprise administrator has disabled Copilot in the CLI. SeeManaging policies and features for Copilot in your organization.
Getting command explanations and suggestions
In the Terminal Chat chat window, type a question (for example,how do i list all markdown files in my directory
) then pressEnter.
Copilot's answer is displayed below your question.
Click on an answer to insert it to the command line.
Sharing feedback
To send feedback to Windows Terminal about the quality of a suggestion, open an issue in theWindows Terminal repository.
Further reading
- Terminal Chat in the Microsoft Learn documentation