GitHub Copilot CLI is GitHub’s AI coding agent for the terminal. It can understand your codebase, make edits, run commands, and help you build software faster. Open models can be used with Copilot CLI through Ollama, enabling you to use models such asDocumentation Index
Fetch the complete documentation index at: https://docs.ollama.com/llms.txt
Use this file to discover all available pages before exploring further.
qwen3.5, glm-5.1:cloud, kimi-k2.5:cloud.
Install
Install Copilot CLI:Usage with Ollama
Quick setup
Run directly with a model
Recommended Models
kimi-k2.5:cloudglm-5:cloudminimax-m2.7:cloudqwen3.5:cloudglm-4.7-flashqwen3.5
Non-interactive (headless) mode
Run Copilot CLI without interaction for use in Docker, CI/CD, or scripts:--yes flag auto-pulls the model, skips selectors, and requires --model to be specified. Arguments after -- are passed directly to Copilot CLI.
Manual setup
Copilot CLI connects to Ollama using the OpenAI-compatible API via environment variables.- Set the environment variables:
- Run Copilot CLI:

