Microsoft Dev Blogs:
GitHub Copilot users can now use the power of GitHub Copilot to get command suggestions and explanations without leaving the terminal with Terminal Chat in Windows Terminal Canary

This is available for all GitHub Copilot Individual, Business, and Enterprise customers. To get started, sign up for a GitHub Copilot free trial and check out the GitHub Copilot quickstart guide.

What is GitHub Copilot?
GitHub Copilot is an AI coding assistant that helps you write code faster and with less effort, allowing you to focus more energy on problem solving and collaboration.GitHub Copilot has been proven to increase developer productivity and accelerate the pace of software development. For more information, see âResearch: quantifying GitHub Copilotâs impact on developer productivity and happinessâ in the GitHub blog.
What is Terminal Chat?
Terminal Chat is a feature in Windows Terminal Canary that allows the user to chat with an AI service (like GitHub Copilot
This feature does not ship with its own large-language model and can also be managed by Group Policy. See âGroup Policies for Windows Terminalâ for more information.
Use GitHub Copilot in Terminal Chat
Connecting GitHub Copilot in Terminal Chat allows you to get command suggestions and explanations without leaving the terminal. This is available for all GitHub Copilot Individual, Business, and Enterprise customers.Prerequisites
- Subscription to GitHub Copilot. If you donât already have access to GitHub Copilot, you can set up a free trial or subscription
- Windows Terminal Canary. You can download the latest build of Windows Terminal Canary from the Windows Terminal GitHub repository
Setup
- Open the dropdown menu and select Settings
- Go to the Terminal Chat (Experimental) setting
- Under Service Providers, select GitHub Copilot and Authenticate via GitHub to sign in to your GitHub account
- After successfully authenticating, ensure that Set as active provider is checked and click Save

Animated GIF of a user signing into GitHub Copilot to enable Terminal Chat to chat with GitHub Copilot, image
In the GIF above, you will see an end-to-end demo of the authorization flow and how to use Terminal Chat. Youâll also notice that Terminal Chat transformed into a GitHub Copilot branded experience after signing into GitHub!
Clicking on Terminal Chatâs suggestion will copy it to the input line of your terminal. Terminal Chat will not run the suggestion automatically for youâ This way, you will have time to reason over the command before executing it

Terminal Chat only communicates to GitHub Copilot when the user sends a message. The chat history and name of the userâs active shell is also appended to the message sent to GitHub Copilot. For more information on how to use GitHub Copilot responsibly with Windows Terminal, see Responsible use of GitHub Copilot in Windows Terminal.
Tips & Tricks
Here are several ways that you can use GitHub Copilot in Terminal Chat!- Command suggestions: Ask for a command that you would like to use. Terminal Chat also adds name of the active shell to the prompt that you send to GitHub Copilot. This helps us get answers tailored to the shell that is in useâ This means we donât have to specify if we want answers for CMD or PowerShell (Yay! Less typing!)
- Translate commands: Terminal Chat can also be used to âtranslateâ commands. For example, you can ask âWhatâs touch in PowerShell?â or âHow do I touch in PowerShell?â to get the suggestion of New-Item, a PowerShell command that is equivalent to the Linux / Unix-based touch command for creating a new file
- Explain an error: If youâve received an unfamiliar error response in your command line, you can ask Terminal Chat for an explanation and how to fix it. For example, âWhat is Error: getaddrinfo ENOTFOUND and how do I fix it?â
- Send code suggestions to command-line text editors: If youâre using a command-line text editor in WSL (like nano or vi), you can ask Terminal Chat to generate code and send the code suggestion to the editor by clicking the âCopyâ button. See the GIF below for a demo!

Letâs Build Together
For now, Terminal Chat is only available in Windows Terminal Canary. We are committed to transparency and listening to user feedback. We strongly believe that the inclusion of the open-source community will help us define the roadmap for our core product, Windows Terminal.If you are interested in the AI experiences that we are building, then check out the feature/llm branch of the Windows Terminal repository or download the latest build of Windows Terminal Canary.
If you have a feature request or found a bug, then please submit a new Issue on our GitHub repository. Send us feedback! Help us grow! And letâs build together!
If you need to set Group Policies for Terminal Chat, see our Group Policy documentation.
Lastly, if you want to explore the other features you get with a GitHub Copilot subscription (which includes GitHub Copilot in Visual Studio Code and Visual Studio!) then check out the GitHub Copilot website for more info!
Thank you!

Source:

GitHub Copilot in Windows Terminal
GitHub Copilot users can now use the power of GitHub Copilot to get command suggestions and explanations without leaving the terminal with Terminal Chat in Windows Terminal Canary đ This is available for all GitHub Copilot Individual, Business, and Enterprise customers. To get started, sign up...
