# 使用 Homebrew Cask 安装 copilot-cli

查看 copilot-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install cask:copilot-cli
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask copilot-cli
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:copilot-cli
- **软件包管理器:** Homebrew Cask
- **版本:** 1.0.77
- **来源摘要:** Brings the power of Copilot coding agent directly to your terminal
- **主页:** <https://docs.github.com/en/copilot/concepts/agents/about-copilot-cli>
- **最后更新:** 2026-07-31T01:09:58Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- copilot (二进制)
- copilot (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.77
## 项目历史与用法

GitHub Copilot CLI is GitHub's terminal interface for Copilot's agentic coding workflows. It lets users ask questions, edit and debug code, interact with GitHub.com, and run interactive or programmatic sessions from the command line.

### 项目历史

The public repository metadata records the official `github/copilot-cli` repository as created in January 2023. By 2026, GitHub Docs presents Copilot CLI as available with all Copilot plans, with organization policy controls for managed users.

### 采用历史

Homebrew distributes the macOS package as a cask, matching GitHub's own release artifacts. The release stream is active, with stable and prerelease tags published through the official GitHub repository.

### 使用方式

Users start an interactive session with `copilot` or pass a one-shot prompt with `-p` or `--prompt`. The CLI supports ask/execute and plan modes, tool approvals, local and cloud sandboxing, GitHub.com workflows, custom agents, hooks, MCP servers, and programmatic automation.

### 为什么软件包爱好者会关心

For package-history purposes, Copilot CLI is notable as an official vendor cask for a fast-moving AI coding agent rather than a traditional open-source utility. Its configuration and auth state live under `~/.copilot`, while binary releases are packaged separately for Homebrew cask users.

### 时间线

- 2023: Official GitHub repository created.
- 2026: GitHub Docs describe Copilot CLI as available with all Copilot plans.
- 2026: Homebrew cask package facts record version 1.0.65.

### Related projects

- The CLI is part of the wider GitHub Copilot platform, alongside Copilot Chat, cloud agent, custom agents, MCP integrations, the GitHub Copilot app, and the Copilot Language Server.

### 来源

- <https://docs.github.com/en/copilot/concepts/agents/about-copilot-cli>
- <https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-config-dir-reference>
- <https://docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/configure-copilot-cli>
- <https://docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/authenticate-copilot-cli>
- <https://github.com/github/copilot-cli/releases>
- <https://api.github.com/repos/github/copilot-cli>


## 安全说明

没有找到 copilot-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- MacPorts - copilot-cli: normalized package name match | MacPorts ports tree: llm/copilot-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/copilot-cli: normalized package name match | Scoop official bucket manifest trees: bucket/copilot-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - GitHub.Copilot: normalized package name match | Windows Package Manager source index: GitHub.Copilot from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - copilot: installed executable or alias match | MacPorts ports tree: devel/copilot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/copilot-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/copilot-cli.yml)


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
