Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

GitHub Copilot CLI in 60 seconds

AI toolsTerminal agentAWS: Amazon Q Developer CLI

What it is

The copilot command: an agent in your terminal. Interactive sessions with slash commands, or copilot -p for one prompt, with --allow-tool and --deny-tool to control what it may run.

Simulate it »

✅ Use it when

  • Working in the terminal without switching windows
  • Scripts and CI jobs (programmatic mode)
  • File tidying and shell scripts, with approval

🚫 Not the best fit when

  • --allow-all-tools on tasks you don’t trust
  • Machines where the org policy disables the CLI

💰 Price feel: ●○○○ Free or very cheap

Included with Copilot plans; uses your plan’s allowance

Illustrative pay-as-you-go list prices at approximate exchange rates. Use the Azure pricing calculator for real quotes.

Simulate it

3D Copilot modes and agents: Ask, Edit, Agent, MCP and the coding agent Install, trust the folder, sign in.

🖱️ Drag to rotate · scroll or pinch to zoom

Loading the 3D scene…
</> Embed

Embed this simulation

Free for trainers, teachers and bloggers. Paste this into your page:

Copilot CLI

The same agent in the terminal: copilot for a session with slash commands, copilot -p "…" for one prompt, and --allow-tool / --deny-tool to control what it may run.

Read this tour as text
  1. Ask mode. Ask answers questions about code and concepts and can suggest code blocks. It doesn’t change your files by itself.
  2. Edit mode (Copilot Edits). Edit applies changes to the files you choose, across several files at once. You see each diff and Keep or Undo it.
  3. Agent mode. Agent works out which files to touch, edits them, runs commands and tests, reads errors and keeps going until the task is done. It asks before running terminal commands unless you’ve approved them.
  4. MCP servers add tools. The Model Context Protocol (MCP) lets Copilot use external tools: the GitHub MCP server, a browser, a docs search or your own API. Configure servers in .vscode/mcp.json (VS Code) or with /mcp (CLI). Organizations can restrict which servers are allowed.
  5. Sessions and sub-agents. Long tasks fill the context window. Agent sessions keep work separate, and a sub-agent can do a side task in its own context and hand back only a summary.
  6. Copilot coding agent. Assign an issue to Copilot on github.com (or /delegate from the CLI). The coding agent works in a GitHub Actions environment on its own branch and opens a draft pull request with its changes.
  7. Review stays human. You review the agent’s PR like any other. Copilot code review can comment and suggest changes, but its review doesn’t count as an approval. A person merges.
  8. Copilot CLI. The same agent in the terminal: copilot for a session with slash commands, copilot -p "…" for one prompt, and --allow-tool / --deny-tool to control what it may run.
📘 Full lesson: GitHub Copilot CLI: Install and Key Commands ❯ ⚖️ Inline suggestions vs Chat vs Copilot CLI vs coding agent ❯

Similar services

Install MSDEVBUILD Azure

Free · no account · works offline

Save the whole course for offline ›

Hi, I’m your Nimbus

Your study buddy. Pick what we do next.

MSDEVBUILD · Multi-Stack Dev Build

Sign in to MSDEVBUILD

One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.