GuidesHosting choices

What Is Cline? Install, CLI, Pricing and Auto-Approve (2026)

Cline as of December 2026: install the VS Code extension or the CLI, sign in or bring your own API key, what credits and ClinePass cost, and auto-approve risks.

December 1, 2026The Everpod team
The short answer

Cline is an open-source (Apache 2.0) AI coding agent from Cline Bot Inc. It runs as an extension in VS Code, Cursor, Windsurf, VSCodium and Antigravity, as a JetBrains plugin, as a desktop app, and as a terminal CLI installed with npm install -g cline (Node.js 20 or later). The agent is free; you pay for the model, either with your own API key for Anthropic, OpenAI, Gemini, OpenRouter, Bedrock, a local model and many more, with prepaid Cline credits, or with ClinePass at $9.99 a month for a set of open models. In the editor it asks before each edit and command unless you turn on auto-approve; the CLI approves every tool call by default, in its terminal UI and when given a prompt alike. As of December 1, 2026 the extension is 4.1.28 and the CLI 3.0.76, both released November 26, 2026.

What Cline is in December 2026

Cline’s README calls it “the open source coding agent in your IDE, terminal, & desktop”. It began as a VS Code extension, which is still its largest surface: the Marketplace listing shows 6,100,811 installs, under the extension id saoudrizwan.claude-dev. One repository now ships several products, each with its own version number:

SurfaceLatest, as of December 1, 2026Where it comes from
Editor extension
4.1.28 (November 26)VS Code Marketplace; Open VSX for Windsurf and VSCodium
CLI (cline)
3.0.76 (November 26)npm, package cline
Desktop app
0.0.51 (November 26)macOS; Windows in beta
JetBrains plugin
Not in the GitHub releasesJetBrains Marketplace; not open source
SDK (@cline/sdk)
0.2.2 (November 26)npm, for building your own agent

The releases page had two extension releases in the last ten days of November. The November 26 ones refreshed the model list and added two providers; the release before, on November 21, changed what a new Cline account starts on: “With no saved model, the Cline provider now starts on the first free model instead of Claude Sonnet 5.5.”

Roo Code’s README, which says “The Roo Code Extension was shut down on May 15th”, points its users to ZooCode and to “Cline (from where Roo Code originated)”; Roo Code’s shutdown covers what happens to an installed copy. If you are choosing between Cline and Anthropic’s agent, Cline vs Claude Code sets them side by side.

Install it

In VS Code, Cursor, Windsurf, VSCodium or Antigravity, open the Extensions view (Ctrl/Cmd+Shift+X), search for Cline, install, and open it from the sidebar. Windsurf and VSCodium install from Open VSX, where the listing is the same extension and version. In a JetBrains IDE it is Settings, Plugins, Marketplace, search Cline, install and restart, then View, Tool Windows, Cline. The install page gives all of these, and the desktop app as a download for macOS and Windows.

The CLI needs Node.js 20 or later, with 22 recommended. Unlike the extension, it approves every edit and command by default, including in its terminal UI (see approvals below), so start it only in a directory you are ready to let it change. Install it and check the version, then cline auth to choose a provider and model, then plain cline for the interactive terminal UI, with auto-approve on; later, cline update checks for and installs an update:

npm install -g cline
cline --version
cline auth
cline
Copied

Signing in, or bringing your own key

Cline needs a model before it does anything, and in the editor you pick it in settings (the gear in the Cline panel) under API Provider. The authorization page lists the kinds of choice:

In the CLI, cline auth with no options “Runs the same auth flow as IDE setup” and asks for the key at a prompt, which keeps it out of your shell history. The one-line form needs the provider, the key and a model id together; read the key into a variable first rather than typing it on the command line:

printf 'Anthropic API key: '; read -rs ANTHROPIC_API_KEY; echo
cline auth -p anthropic -k "$ANTHROPIC_API_KEY" -m claude-sonnet-5-5
unset ANTHROPIC_API_KEY
chmod 600 ~/.cline/data/settings/providers.json
Copied

The key still shows in the process list for the moment the command runs, so on a machine other users share, use the interactive cline auth. Note that -p means --provider after auth and --plan everywhere else. Keys are saved in ~/.cline/data/settings/providers.json (the config page calls it “API keys and provider configuration”); the docs do not give the file a mode, hence the chmod. The same settings folder serves the CLI and the SDK, and CLINE_DIR or --config moves it.

What Cline costs

The extension and the CLI cost nothing. Cline’s pricing page lists the open source plan as free, with “Purchase and Model Inference at Cost or BYOK”, and says “There are no subscriptions or seat fees for the open source version.” What you pay for is the model:

Approvals, auto-approve and YOLO mode

In the editor the README’s promise is that “Every file edit and terminal command requires your approval”, and you loosen it per category. The auto-approve settings are: read project files, read all files, edit project files, edit all files, execute safe commands, execute all commands, use the browser, use MCP servers, and notifications. The “all files” and “all commands” toggles only work with their base toggle on.

“Safe commands” is the one to read carefully. “Cline does not use a fixed allowlist”: the model itself marks each command as needing approval or not, so turning on safe commands means trusting the model’s judgment of what is safe. Plan mode is the firm line: in Plan, Cline “cannot modify any files or execute commands”, per the Plan and Act docs, and a setting lets Plan and Act use different models.

YOLO Mode, under Settings, Features, is the setting Cline’s docs warn about in these words: “This is dangerous. YOLO mode disables all safety checks.” With it on, “Cline executes whatever it decides without asking permission”, including the switch from Plan to Act.

The CLI starts from the other end. Its reference gives --auto-approve a default of true, and says of a prompt on the command line:

Your prompt. Runs in yolo mode by default; pass --auto-approve false (or --act/--plan) to opt out.
Copied

In the CLI’s source the same default applies to the interactive terminal UI, whose status line shows whether auto-approve is on; Shift+Tab toggles it and Tab switches between Plan and Act. A choice saved in /settings outlasts restarts. The reference also says “The CLI has no allow or deny list for shell commands”; it points at a PreToolUse hook for blocking commands. To have it ask, start it as on the first line below, which asks before tools; the second starts it in Plan, with no edits and no commands:

cline --auto-approve false
cline --plan "explain how auth works in this repo"
Copied

With --auto-approve false and no terminal to answer (piped, redirected or in CI), a tool that needs approval is refused, not run: the source’s message is that it “requires approval in a TTY session”. Nothing here is sandboxed; Cline acts with your user’s rights, which is why --worktree, which runs the task in a separate git worktree under ~/.cline/worktrees/, is worth knowing. The wider question of cutting prompts safely is in running coding agents without permission prompts.

The Cline CLI on a server, over SSH or headless

The CLI is a Node program, so on a Linux server it installs and runs over SSH like any other: install Node 20 or 22 for your ordinary user, npm install -g cline, set a provider key with cline auth, cd into the repository and run cline. Run it as that ordinary user, never root, given the auto-approve default above. An interactive session dies with the SSH connection, so start it inside tmux.

Signing in to a Cline account or an OpenAI plan is a browser sign-in. The CLI tries to open a browser and otherwise prints “Could not open browser automatically; open the URL above manually.”, and without a terminal it stops with “OAuth login requires an interactive terminal session.” Cline’s docs do not say how that sign-in finishes when the browser is on another machine; a provider API key avoids the question.

It goes headless by itself when stdin is piped, output is redirected or --json is set (CLI overview). Each of these commands is given a prompt, so each auto-approves unless it says otherwise. The first two stay in Plan; the third edits files and runs commands without asking:

git diff | cline --plan "review these changes"
cline --plan --json "summarize this changelog" | jq -r 'select(.type == "run_result") | .text'
cline -c /srv/app "run the tests and fix failures"
Copied

For recurring work, scheduled agents run on cron expressions in the machine’s local time zone. The docs are plain about approvals there: “In every mode, a scheduled run approves its own tool calls, because nobody is there to approve them.” Whatever its prompt, a scheduled run can edit files and run commands without asking:

cline schedule create "Standup prep" --cron "0 8 * * MON-FRI" \
  --prompt "Summarize merged and in-review PRs" --workspace /path/to/repo
Copied

Schedules run in Cline’s local hub process, which starts when you create one, and the docs say scheduled agents “persist across process restarts”; they do not say whether the hub comes back after the server reboots, so check cline hub status after one. Logs go to ~/.cline/data/logs/cline.log, and cline doctor diagnoses configuration problems.

The other way round, the desktop app can work on a server: Remote Development over SSH keeps “the app on your computer; the agent, its tools, and your code live on the remote machine.” It uploads a small helper to ~/.cline/remote/ on the server, needs Linux (x64 or arm64) or macOS there, and accepts key-based SSH login only; it refuses a host key it has not seen, so log in once from a terminal first. One host at a time, and the tunnel closes about 45 seconds after the network drops.

Rules, MCP and the rest

Project instructions go in .clinerules/ or .cline/rules/ at the project root, and Cline also reads AGENTS.md, .cursorrules and .windsurfrules (rules docs); MCP servers are managed from the editor’s MCP panel or with cline mcp. Both are covered in Cline vs Claude Code. .clineignore is marked “Deprecating soon” on the deprecations page, so a repository that relies on it to keep files away from the agent will need another way. Another open-source agent with an editor extension and a CLI is covered in the Kilo Code guide.

Run Claude Code, Codex, OpenCode, Pi, Hermes or OpenClaw on an always-on developer pod.

A developer pod is a permanent cloud computer (VPS), set up and secured for you, with your pick of Claude Code, Codex, OpenCode, Pi, Hermes and OpenClaw installed. Run more agents at once than your laptop can hold, and keep them working when it’s closed. From $24 a month, built in about ten minutes.