Coding agent · GitHub
GitHub Copilot CLI
GitHub Copilot as a terminal agent that works on your local repository.
Copilot Chat or GitHub Copilot CLI?
Copilot Chat is a chat app. It answers from what you paste or upload, and you carry the result back into your project yourself. GitHub Copilot CLI is a coding agent: it works inside your project folder, reads the files it needs, makes the change, runs your tests or build and tells you what it did. Copilot CLI runs on your GitHub Copilot plan.
Install and sign in
- macOS
npm install -g @github/copilot- Linux
npm install -g @github/copilot- Windows
npm install -g @github/copilot
Sign in
Go to your project folder and run:
copilotThe first run walks you through signing in. After that, the same command starts a session.
Run it once, without the chat screen
One-shot mode answers a single request and exits. It is how StoicSoft apps run GitHub Copilot CLI, and how you put it in a script.
copilot -p "Explain how this project is organised"Choose a model
Add --model <model>, for example auto.
Permission levels
How much GitHub Copilot CLI may do without asking you. Start low; raise it once you trust it on this project.
| Level | What it means | Flag |
|---|---|---|
| Read only | Looks, answers, changes nothing. | No verified flag |
| Edit files | Edits inside the project folder, asks before commands. | No verified flag |
| Edit and run commands | Edits and runs commands such as your tests. | No verified flag |
| Full auto | No questions asked. Use in a throwaway folder or sandbox. | --allow-all-tools |
“No verified flag” means the StoicSoft catalog has no tested command-line switch for that level. The agent may still offer it in its own settings; otherwise it asks you each time.
GitHub Copilot CLI in StoicSoft apps
4 apps run the GitHub Copilot CLI you installed, signed in to your own account.
Runs coding agents as terminals side by side, resumes past sessions, switches models, and lets one agent hand a task to another.
Its agent chat drives the CLI you pick and hands it the browser’s own tools over MCP.
“Your coding agent” is an AI provider: answers about your machine come from the CLI you are signed in to, so no API key is stored.
Chat with your vault through the agent you pick, and feed saved context into your agents.
The other direction: GitHub Copilot CLI calling the apps
Every StoicSoft app ships an MCP server. In an app’s agent access screen, pick GitHub Copilot CLI and the app adds itself to this file:
- macOS
~/.copilot/mcp-config.json- Linux
~/.copilot/mcp-config.json- Windows
%USERPROFILE%\.copilot\mcp-config.json
Who checked these facts
Each record is a real run of GitHub Copilot CLI, by the app or test station that relies on it.
| Checked by | GitHub Copilot CLI version | System | Date |
|---|---|---|---|
| 1DevTool | 1.0.105 | macOS | — |
| StoicSoft test station | 1.0.117 | macOS | 2026-11-30 |
Binary names: macOS: copilot · Linux: copilot · Windows: copilot.cmd, copilot.exe. Also known as github-copilot, copilot-cli, @github/copilot.
GitHub Copilot CLI: common questions
- What is the difference between Copilot Chat and GitHub Copilot CLI?
- Copilot Chat is a chat app: it answers from what you paste, and you carry the result back into your project. GitHub Copilot CLI is a coding agent: it works in your project folder, edits the files and runs commands, then shows you what it changed. Copilot CLI runs on your GitHub Copilot plan.
- How do I install GitHub Copilot CLI?
- Run npm install -g @github/copilot in a terminal. Then type copilot in your project folder; the first run asks you to sign in.
- How do I run GitHub Copilot CLI without the interactive screen?
- Use its one-shot mode: copilot -p "Explain how this project is organised". It prints the answer and exits, which is how StoicSoft apps and scripts run it.
- Which StoicSoft apps support GitHub Copilot CLI?
- 1DevTool, StoicBrowser, 1MachineTool, 1AIVault. It can also call every StoicSoft app over MCP; the apps write themselves into its settings file for you.