GitHub Copilot CLI¶
GitHub Copilot CLI brings AI-powered coding assistance directly to your terminal (command line). Think of it as having a smart assistant sitting right inside your PowerShell window.
What Can It Do?¶
| Capability | Example |
|---|---|
| Answer questions | "How many licenses do I have in my lab?" |
| Run commands | Executes PowerShell, Azure CLI, and more on your behalf |
| Search the web | Finds the latest information about any topic |
| Manage Azure | Creates resources, queries your subscriptions |
| Query M365 | Checks emails, meetings, Teams data (via WorkIQ) |
| Build things | Creates files, websites, scripts, and more |
How I Installed It¶
Then just type copilot in any PowerShell window to launch it!
Key Concepts¶
Sessions¶
Each time you open Copilot CLI, it creates a session. Think of a session like a phone call — it has a beginning, a conversation, and an end.
Separate panels = separate sessions
If you split your terminal into two panels, each one is a completely independent session. They don't share memory or context.
Resuming Sessions¶
You can go back to a previous session using:
This shows a list of all past sessions — pick one and you're back where you left off.Pages in This Section¶
- Sessions & Custom Instructions — How to make Copilot remember your preferences
- Skills & Plugins — What tools are available
- Useful Commands — Quick reference for common commands