Terminal coding agent CLI for local repo tasks, file edits, shell commands, and browser-based debugging.
$npm install -g cline
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Cline is a terminal coding agent for working inside a local project, with both a full-screen interactive UI and headless execution for scripts. It can inspect code, edit files, run shell commands, and use a browser while keeping approvals and configuration in the terminal.
What It Enables
- Run repo-aware coding tasks that read files, apply edits, execute tests or build commands, and iterate until a task completes.
- Pipe diffs, logs, or file contents into headless runs for reviews, summaries, release notes, and automated fix loops.
- Reuse the agent in editors like JetBrains, Neovim, or Zed through
--acp, so editor integrations can call the same terminal-side agent runtime.
Agent Fit
--json, piped stdin, task resume IDs, and automatic headless mode give it a real shell-friendly automation surface.- Most output and control flow are still centered on an agent conversation with approvals, so it is less deterministic than narrow service CLIs with stable subcommands.
- Fits best as a higher-level coding primitive when a skill or wrapper pins the working directory, approval mode, provider setup, and allowed commands. ACP mode and configurable MCP servers also let teams plug it into editor-hosted workflows when needed.
Caveats
- Real use depends on configuring a model provider or account, and autonomous
-yruns are safest on disposable branches because the tool can edit files and execute commands. - The repo is a combined VS Code extension and CLI monorepo, so the root README is editor-heavy and the CLI-specific behavior lives under
cli/anddocs/cline-cli/.