Skip to content

Cline

Open source AI coding agent for IDE, terminal and desktop, usable with any model

Permissive (OSI) · Apache-2.0 AI-native
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

71,855

Last commit

yesterday

Nov 2026

Repository age

2 years

since Jul 2024

Latest version

v4.1.27

Nov 2026

Contributors

–

20 active in 90 days

Releases

25

last 12 months

Language

TypeScript

Cline is an AI coding agent that runs in VS Code, JetBrains IDEs, the terminal and a desktop app for macOS and Windows. It reads your project structure, edits files across the codebase and runs shell commands while watching the output. In the editor, each change appears as a diff you can review, modify or revert, and checkpoints let you undo the agent's work.

You work in two modes. Plan mode explores the code and lays out a strategy. Act mode carries it out, with approval for each file edit and command unless you turn on auto-approve. Project rules go in .clinerules files, and skills let the model load specific rules when needed. The CLI also runs headless for CI/CD and scripting. An SDK for Node.js lets you build your own agents on the same engine.

It is written in TypeScript and licensed under Apache-2.0. It is not tied to one model provider. It is an alternative to Claude Code, OpenAI Codex, OpenCode, GitHub Copilot and, in part, Cursor. The JetBrains plugin is not open source.

Who it's for

Developers who want one agent across VS Code, JetBrains and the terminal

The same engine and rules files work in the IDE plugins, the CLI and the desktop app.

Skip if: You want inline completion as you type, which Cline does not provide.

Teams that need to choose their own model provider

It is model-agnostic, so you are not tied to the vendor of a single coding tool.

Skip if: You want hosted cloud agents that open pull requests for you.

Engineers automating coding tasks in CI/CD

The CLI runs headless, and the SDK lets you script custom agents.

Skip if: You only need an interactive assistant and have no scripting use.

The problem it solves

Commercial coding agents usually lock you to one vendor's models and one interface. Cline gives you an agent that works in your existing editor or terminal with the model provider you pick, and it asks for approval before changing anything.

Strengths

  • Runs in VS Code, JetBrains, CLI and a macOS and Windows desktop app
  • Plan and Act modes with approval for every edit and command
  • Diffs and checkpoints let you review and undo agent changes
  • Headless CLI and Node.js SDK for CI and custom agents
  • Apache-2.0 licensed with 25 releases in the last year

Trade-offs

  • No cloud background agents or automated PR code review
  • No inline tab completion as you type
  • JetBrains plugin is closed source
  • Not a standalone editor, so you need an existing IDE or terminal

Cline replaces

Self-host Cline

Self-hostable
No (desktop or local app)

Quick start

npm i -g cline

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Cline free and open source?

The code is licensed under Apache-2.0. The JetBrains plugin is the exception, as it is not open source.

Which environments does it run in?

VS Code, JetBrains IDEs, the terminal and a desktop app for macOS and Windows.

Can I self-host it?

It is a client tool that runs on your machine, not a server you host. You connect it to the model provider of your choice.

Can it run without a human approving each step?

Yes. You can toggle auto-approve so Cline works autonomously, and the CLI also has a headless mode.

Cline compared

Other Claude Code alternatives

Compare all 8 Claude Code alternatives →

Similar tools in AI coding assistants

pi

AI coding assistants

Terminal coding agent you extend with packages, skills and prompt templates

124k 16k today Thriving MIT

Replaces Claude Code

Goose

AI coding assistants

Open source AI agent with desktop app and CLI that works with 85+ model providers

57k 6.7k today Thriving Apache-2.0

Replaces Claude CoworkClaude Code

Aider

AI coding assistants

Terminal AI pair programmer that commits its edits to git, for use with any LLM

50k 5.2k 6 months ago Dormant Apache-2.0

Replaces Claude Code

T3 Code

AI coding assistants

Desktop, web and phone interface for running Claude Code, Codex and other coding agents

76k 13k today Active MIT

Qwen Code

AI coding assistants

Terminal AI coding agent with MCP, subagents and any OpenAI-compatible model

31k 3.6k today Thriving Apache-2.0

open-code-review

AI coding assistants

Command-line AI code reviewer that checks Git diffs with your own LLM endpoint

56k 4.6k today Thriving Apache-2.0