Skip to main content

Asking GitHub Copilot questions in Windows Terminal

You can use Copilot in Windows Terminal to get suggestions and explanations for the command line.

Who can use this feature?

This feature is not available in GitHub Copilot Free.

Prerequisites

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. See Managing policies 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 press Enter.

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 the Windows Terminal repository.

Further reading