Prerequisites
- Access to GitHub Copilot. See "什么是 GitHub Copilot?."
- Windows Terminal Canary installed. For installation instructions, see Installing Windows Terminal Canary.
- GitHub Copilot connected to Terminal Chat. See "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. See "管理组织中的 Copilot 策略."
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
- "Terminal Chat" in the Microsoft Learn documentation