# 使用 Homebrew 安装 cline

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

## 安装

```sh
sudo av install brew:cline
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cline
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cline
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cline>
- **版本:** 3.0.3
- **来源摘要:** AI-powered coding agent for complex work
- **主页:** <https://cline.bot>
- **上游文档:** <https://cline.bot>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/cline/-/cline-3.0.3.tgz>
- **最后更新:** 2026-05-18T08:53:32-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cline (cli)
- cline (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.0.3
- 管理器更新时间: 2026-05-18
- 本地数据: OK
- 上游仓库: https://cline.bot
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Cline is an open source AI coding agent for IDE and terminal workflows. The official repository describes Cline as a coding agent in the IDE and terminal and organizes the project around a shared SDK, CLI, VS Code extension, JetBrains plugin, Kanban surface, and documentation.

### 项目历史

The GitHub repository was created in 2024 and the changelog records an initial 0.0.6 release followed by rapid VS Code extension iteration. Version 2.0 renamed the project to Cline and described it as an assistant that can use the CLI and editor; later releases added browser/computer-use style capabilities, model-provider breadth, MCP support, and shared agent infrastructure.

### 采用历史

Cline's adoption path differs from older Unix tools: it grew through editor marketplaces, npm, community channels, and then Homebrew for the CLI. The official README links the VS Code Marketplace, JetBrains Marketplace, npm installation for the CLI and SDK, Discord, Reddit, and documentation, while the batch input lists Homebrew as the package-manager distribution for this formula.

### 使用方式

The CLI can run interactively, in one-shot mode, as JSON output, yolo/headless mode, or background hub mode. Official docs and README examples cover editing code across a project, running shell commands, Plan/Act mode, checkpoints, MCP servers, providers such as Anthropic, OpenAI, Gemini, OpenRouter, Bedrock, Vertex, and OpenAI-compatible APIs, plus scheduled and connector-driven agents.

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

Cline is package-nerd significant because it shows an AI coding agent becoming a normal command-line package rather than only an editor extension. Its CLI packaging brings credentials, provider selection, MCP servers, plugins, schedules, and headless automation into shell workflows where package managers can install and update the agent like other developer tools.

### 时间线

- 2024: cline/cline GitHub repository created and changelog records initial 0.0.6 release.
- 2024: Version 2.0 changelog announces the Cline rename and CLI/editor assistant positioning.
- 2026: CLI 3.0.x changelog shows active terminal-agent releases, plugin/MCP work, Cline Hub, connectors, and provider updates.
- 2026: Version 4.0.0 changelog describes migration to a shared SDK-backed VS Code extension runtime.

### Related projects

- Officially related surfaces include the Cline CLI, VS Code extension, JetBrains plugin, Cline SDK, Cline Kanban, and Cline plugins. Functionally, it belongs to the same package-manager category as terminal coding agents, editor AI assistants, MCP clients, and OpenAI-compatible provider tooling.

### 来源

- <https://github.com/cline/cline#readme>
- <https://github.com/cline/cline/blob/main/apps/cli/README.md>
- <https://github.com/cline/cline/blob/main/CHANGELOG.md>
- <https://github.com/cline/cline/blob/main/apps/cli/CHANGELOG.md>
- <https://docs.cline.bot/>


## 安全说明

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.cline/, ~/.cline/data/settings/providers.json, ~/.cline/data/settings/global-settings.json, ~/.cline/data/settings/cline_mcp_settings.json, .cline/, .clineignore

## Credential files

- Unix: ~/.cline/data/settings/providers.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cline
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [MCP tool packages](https://pkg.so/zh-hans/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/zh-hans/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [qwen-code](https://pkg.so/zh-hans/brew/qwen-code/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [pi-coding-agent](https://pkg.so/zh-hans/brew/pi-coding-agent/) - Shares pkgdb curated category or tags: ai, cli, coding-agents, sdk.
- [beads](https://pkg.so/zh-hans/brew/beads/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [mistral-vibe](https://pkg.so/zh-hans/brew/mistral-vibe/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [kimi-cli](https://pkg.so/zh-hans/brew/kimi-cli/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [letta-code](https://pkg.so/zh-hans/brew/letta-code/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [zot](https://pkg.so/zh-hans/brew/zot/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [mimo-code](https://pkg.so/zh-hans/brew/mimo-code/) - Shares pkgdb curated category or tags: ai, cli, coding-agent, coding-agents.
- [cline](https://pkg.so/zh-hans/npm/cline/) - Same normalized package name appears in another local ecosystem. Shared terms: agent, agents, ai, cli, cline.
- [cline](https://pkg.so/zh-hans/npm/cline/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
