BASE

GitHub Copilot CLI

GitHub Copilot CLI

Tool · Free + paid

The official GitHub Copilot terminal agent for creating, explaining, and fixing code. Integrates with GitHub repositories and extends through MCP and language servers.

Resource illustration: GitHub Copilot CLI

Open resource ↗

What you can use for free

Current GitHub Docs state that the CLI is included in every plan, including Free with limited AI credits and Auto model selection.

Paid features and costs

Pro is $10/month, Pro+ is $39, and Max is $100; the README still refers to an active subscription and premium requests, so current billing takes precedence over the older wording.

Access and limitations

Current GitHub Docs state that the CLI is included in every plan, including Free with limited AI credits and Auto model selection. Pro is $10/month, Pro+ is $39, and Max is $100; the README still refers to an active subscription and premium requests, so current billing takes precedence over the older wording.

Use cases

  • Investigate an issue and prepare a change
  • Work with code and GitHub from PowerShell

Example workflow

A possible workflow; this is not a report of hands-on testing.

Example workflow with GitHub Copilot CLI: Investigate an issue and prepare a change.

Before you start

  • A repository, a description of one change, and a reproducible example of the expected behavior.
  • Project context: affected files, constraints, and the established validation method.

Steps

  1. For the task “Investigate an issue and prepare a change”: open the relevant project and let the agent inspect the affected implementation before making changes.
  2. Set a bounded task with completion criteria; review the proposed changes and how they address the requirement.
  3. Run the appropriate project checks and compare behavior before and after the change.

Check your result

  • The change solves the stated task and does not touch unrelated files unnecessarily.
  • Investigate check failures; review generated code, configuration, and data access permissions.

Choosing GitHub Copilot CLI

Investigate an issue and prepare a change

Choose this when

  • Investigate an issue and prepare a change
  • Work with code and GitHub from PowerShell

Consider alternatives when

  • When choosing for this topic, compare GitHub Copilot CLI with Gemini CLI. A candidate to compare under the topic: Terminal agents, Connection management. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
  • When choosing for this topic, compare GitHub Copilot CLI with OpenAI Codex CLI. A candidate to compare under the topic: Terminal agents, Connection management. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

Requirements

  • A supported OS and Copilot access; PowerShell 6+ on Windows, and a separately installed language server for LSP.
  • For organization access, its administrator must allow Copilot CLI in organization policies.

Things to consider

  • Costs and limits of free use: Pro is $10/month, Pro+ is $39, and Max is $100; the README still refers to an active subscription and premium requests, so current billing takes precedence over the older wording.
  • Terms of use: GitHub Copilot CLI License: a free right to install and run; core modifications are prohibited, and redistribution is permitted only as an unmodified part of another application with additional functionality and retained terms.
  • The free quota depends on the account and current plan.
  • A public repository and CLI execution rights do not permit core changes; the license differs from MIT/Apache.
  • Automatic tool permission lets actions run without each confirmation; trusted directory boundaries are heuristic, and absolute protection of external files is not guaranteed.

Frequently asked questions

What can you use for free in GitHub Copilot CLI?

Current GitHub Docs state that the CLI is included in every plan, including Free with limited AI credits and Auto model selection.

What additional costs might arise with GitHub Copilot CLI?

Pro is $10/month, Pro+ is $39, and Max is $100; the README still refers to an active subscription and premium requests, so current billing takes precedence over the older wording.

What terms of use matter for GitHub Copilot CLI?

GitHub Copilot CLI License: a free right to install and run; core modifications are prohibited, and redistribution is permitted only as an unmodified part of another application with additional functionality and retained terms.

How do you get started with GitHub Copilot CLI?

For the task “Investigate an issue and prepare a change”: open the relevant project and let the agent inspect the affected implementation before making changes. Set a bounded task with completion criteria; review the proposed changes and how they address the requirement. Run the appropriate project checks and compare behavior before and after the change.

What should you consider when choosing GitHub Copilot CLI?

Windows is officially supported and requires PowerShell 6+.

Must a language server be installed separately for Copilot CLI?

Yes: the README states that LSP servers are not included in the CLI and are installed separately. MCP is supported for extending tools. Windows is officially supported with PowerShell 6+; the CLI license permits execution but not core modification, and redistribution is limited to an unmodified component of an application with additional functionality.

Can Copilot CLI be used in a script?

Yes. In addition to interactive conversation, a programmatic call with -p/--prompt performs the task and exits. File modification and execution depend on permitted tools.

Can my own model or local Ollama be connected?

The documentation describes your own provider: an OpenAI-compatible endpoint, Azure OpenAI, or Anthropic, including Ollama and vLLM. The model must support tool calling and streaming; environment variables specify the address, type, and model. Check the chosen provider's terms and costs separately.

How is the quota consumed in terminal work?

Current documentation describes AI credits based on processed token count: consumption depends on the model. Larger context and reasoning levels increase consumption; this is not a fixed price for each request.

Related tasks and approaches

  • Gemini CLI

    A candidate to compare under the topic: Terminal agents, Connection management. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

  • OpenAI Codex CLI

    A candidate to compare under the topic: Terminal agents, Connection management. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

  • anthropics/claude-code

    A candidate to compare under the topic: Terminal agents. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

License

GitHub Copilot CLI License: a free right to install and run; core modifications are prohibited, and redistribution is permitted only as an unmodified part of another application with additional functionality and retained terms.

GitHub Copilot CLI License — run the CLI without modifying its core

Permits installing and running the CLI. You can distribute it only unchanged as part of an application or service with substantial additional functionality, including the license and notices. You cannot modify the core or distribute it as a standalone main product. These are rights to the program; access to Copilot and third-party services requires separate permissions and subscriptions.

License terms

Usage details

Windows is officially supported and requires PowerShell 6+. The free quota depends on the account and current plan.

Technologies and topics

  • MCP
  • Git
  • CLI

Sources

Other resources