Cline AI Setup: 12 Steps, 60 Min [2026] Cline's agent core now ships across four surfaces on separate release tracks as of October 26, 2026 — the VS Code extension at v4.1.26, the terminal CLI at v3.0.74, the Desktop app at v0.0.49 and an SDK — with the client free and an optional ClinePass subscription priced at $9.99 a month for open-weight coding models. The October 26 releases refreshed the model catalog, adding providers CommandCode, Reflection, Liquid Inference and Munito AI while removing CrofAI, iFlow and Llama, and returned the Cline provider's default model to Claude Sonnet 5.5, which Anthropic describes as more than 30% faster than Sonnet 5 and up to 30% cheaper for most work. Cline Cloud sessions, which run a task in a hosted sandbox against a chosen GitHub repository and branch, have been rolling out gradually since v4.1.25 on October 16, and the setup guide recommends pinning a model by name because defaults can change between two npm updates. Cline now ships as a VS Code extension v4.1.26 , a terminal CLI v3.0.74 , a Desktop app v0.0.49 and an SDK, each on its own release track, and the model behind them changes almost weekly. The agent itself costs nothing, and the optional ClinePass subscription runs $9.99 a month https://docs.cline.bot/getting-started/clinepass?ref=edgewisely.com for open-weight coding models. That mix of a free client and a cheap flat-rate model plan explains why Cline keeps turning up in searches for an open source ai coding assistant. Developers are already comfortable handing work to agents. Stack Overflow’s 2025 developer survey reported, in its own words, that “31% of developers currently use AI agents, while 17% plan to use them” source https://stackoverflow.co/company/press/archive/stack-overflow-2025-developer-survey/ . Among the developers using agents at work, 69% agreed the tools had raised their productivity, per the same survey. The open question is no longer whether to try one. It is how to set one up so it stays cheap, predictable and under your control. If you have already tried Aider with a local Ollama model https://shattered.io/aider-local-ai-coding-assistant-ollama-git-2026/ or another terminal agent, Cline AI will feel familiar and different at once. It asks permission for every file edit and every shell command by default, keeps checkpoints you can roll back, and runs in your editor, your terminal or a script. The walkthrough below installs it in both places, wires up a model, and finishes with a working demo repo called logscrub. Cline adds IPv6 redaction to that repo, and a review script gates the push. Don't miss new tech stories on Google Add Shattered once in the Google app and our stories show up in your news suggestions. Add now https://www.google.com/preferences/source?hl=en&q=https%3A%2F%2Fshattered.io%2F Cline AI in October 2026: Four Products, One Agent Core Cline began as a VS Code extension. By late October 2026 the official docs list a Desktop app, a CLI, the VS Code extension, a JetBrains plugin, an SDK and a Kanban board, all running on one agent core. Version numbers differ per surface, so write them down before you start. The extension reached v4.1.26 on October 26, the CLI reached v3.0.74 the same day, and the Cline site lists the Desktop app at v0.0.49. A changelog tracker https://aiticker.site/tools/cline/ shows the extension at the same version. Those October 26 releases refreshed the model catalog. Providers CommandCode, Reflection, Liquid Inference and Munito AI arrived, while CrofAI, iFlow and Llama left. The free-model list gained Reflection Beam, Nemotron 3.5 Lightning and Laguna S 2.1 and dropped Mimo V2.6 Flash and Muse Spark 1.3 Contributor. If your saved config named a removed entry, expect to pick a new one on the next launch. Defaults move too. The release notes say the Cline provider’s default model returned to Claude Sonnet 5.5. Anthropic describes that model as more than 30% faster than Sonnet 5 and up to 30% cheaper for most work, according to its Claude release notes https://support.claude.com/en/articles/12138966-release-notes?version=published . One release tracker reports that Gemini 4 Argon briefly took the top recommended slot on October 16 before Sonnet 5.5 came back. Treat that as a warning label. Any setup that trusts the default model can change behavior between two npm updates, which is why the steps below pin a model by name. Rival tools move on the same clock. Claude Code, Codex CLI and OpenCode all shipped updates inside four days https://shattered.io/claude-code-codex-cli-opencode-update-4-days-2026/ in mid-October, so version drift is the norm across the whole category and not a Cline quirk. One more October addition matters for planning. Since v4.1.25 on October 16, Cline Cloud sessions have been rolling out gradually. A task can run in a hosted sandbox against a chosen GitHub repository and branch, and it keeps going after you close the editor. This walkthrough stays local-first, so cloud sessions only show up in the advanced tips near the end. Prerequisites and Versions to Check First Gather the pieces for your Cline AI setup before you touch an installer. Most failures in the first hour trace back to a missing runtime or a stale global npm package, not to Cline itself. | Component | Version or requirement | Needed for | |---|---|---| | Cline VS Code extension | 4.1.26 | Steps 2, 3, 7, 8 | | Cline CLI | 3.0.74 | Steps 4, 11, 12 | | Cline Desktop optional | 0.0.49 | Advanced tips | | Visual Studio Code | Current stable build | Steps 2 to 8 | | Node.js and npm | Current LTS release | Installing the CLI | | Python | 3.10 or newer | Demo project | | Git | Any recent release | Branches, checkpoints, hooks | | jq | Any recent release | Step 12 JSON parsing | | Ollama optional | Current release | Step 9 | | Model access | Cline sign-in, ClinePass, or your own key | Step 3 | Budget about 60 minutes end to end. The split below assumes a fast connection and no corporate proxy. - Steps 1 to 3 choose a path, install the extension, connect a provider : 12 minutes. - Step 4 CLI install and sign-in : 6 minutes. - Steps 5 and 6 demo repo and project rules : 10 minutes. - Steps 7 and 8 plan, act, review : 14 minutes. - Step 9 local fallback with Ollama : 8 minutes, plus model download time. - Steps 10 to 12 MCP, guardrails, headless review : 10 minutes. The demo project needs no paid account for the first pass, because Cline’s built-in free models should handle the small feature in Step 7. A flat-rate or pay-as-you-go plan only matters once you point the agent at a larger codebase. Step 1: Pick an Access Path Before You Install Anything Cline separates the agent from the model, and the docs describe three common ways to connect them. Choose one now, because it decides which screen you see in Step 3 and what the work costs later. You can switch at any time, and you can keep several configured side by side. | Path | How you pay | Setup effort | Best for | |---|---|---|---| | Cline usage-billing | Prepaid credits, with free model options | One sign-in, no key to manage | Fastest first run | | ClinePass | $9.99 per month flat, 2-5x the usage of standard API rates on selected open coding models | Subscribe, then select the ClinePass provider | Heavy agent use on open-weight models | | Bring your own key cloud | Whatever your provider bills | Paste a key from OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock or DeepSeek | Teams with existing provider contracts | | Bring your own weights local | Your hardware and power | Run Ollama or LM Studio, no key | Code that cannot leave the machine | ClinePass deserves a closer look because it changes the math for long sessions. The docs describe it as a separate provider from the usage-billing option, with usage tracked against rolling 5-hour, weekly and monthly limits. Its curated lineup covers open-weight models from Z.ai, Moonshot AI, DeepSeek, MiniMax, MiMo and Qwen families. As of October 26 the CLI release notes say the ClinePass default became Kimi K3.1 Pro https://shattered.io/moonshot-kimi-k3-1-pro-cyber-curbs-81-vs-90-5-2026/ , with MiniMax M3.1 Flash https://shattered.io/minimax-m3-1-flash-93-percent-hallucination-rate-2026/ and DeepSeek V4.1 Flash 1017 added. The lineup rotates as capacity changes, so read the live model list in the ClinePass docs before you promise a specific model to your team. Pay-as-you-go pricing needs a rough budget. Anthropic lists Claude Sonnet 5.5 at $2 per million input tokens and $10 per million output tokens. Take a hypothetical task that reads 200,000 input tokens across file reads and tool results and writes 10,000 output tokens. That costs $0.40 for input plus $0.10 for output, or $0.50 in total. Ten such tasks in an afternoon cost about $5. Your real numbers will differ because agents re-read context on every turn, but the arithmetic shows why a flat plan appeals to people who run agents all day and why a small pay-as-you-go balance suits occasional use. For this walkthrough, pick the sign-in path usage-billing with a free model if you want zero setup, or paste a provider key if you already have one. Keep the local path for Step 9, where it serves as an offline fallback instead of your daily driver. If a local-first agent is your main goal, OpenCode paired with Ollama https://shattered.io/open-source-ai-coding-assistant-opencode-ollama-2026/ takes that route from the start. Steps 2 and 3: Install the Extension and Connect a Provider Step 2. Install the extension. Open VS Code, switch to the Extensions view, search for Cline, and install the extension published by the Cline team. Cline’s site also lists installers for Windsurf, JetBrains IDEs and Cursor, and the docs add Zed and Neovim through the Agent Client Protocol mode. After the install, open the Extensions view again and confirm the version reads 4.1.26 or newer. If it reads something older, your editor has not refreshed its marketplace cache yet. Reload the window and check again. VS Code itself changed this month. Microsoft’s October 15 post on modernizing the VS Code UI https://code.visualstudio.com/blogs/2026/10/15/modern-ui introduces the Dark 2026 and Light 2026 themes and gives the editor and its Agents window a shared design system. Cline’s side panel picks up whichever theme you run, so a fresh install can look different from older screenshots in tutorials. The controls described below sit in the same places. Step 3. Connect a provider. Click the gear icon in the Cline panel and follow the docs’ four-part flow. - Open Cline settings and find the API Provider dropdown. - Choose Cline usage-billing , ClinePass, a bring-your-own-key provider, or a local runtime. - Authenticate. The two Cline providers use an OAuth sign-in in your browser. Cloud providers need an API key pasted into the key field. Local runtimes need no key, only a running server. - Open the Model dropdown and pick a model by name. Pick the model explicitly even when a recommended one is highlighted. The recommended slot is the part that moved twice in October. A pinned model makes your results repeatable, and it makes cost estimates meaningful. Send a throwaway prompt to prove the connection, such as asking Cline to list the files in an empty folder. A reply means the provider works. An “Unauthorized: Please sign in” message means your session expired, and the fix is to click Sign In again. If the browser never opens, copy the sign-in URL from the Cline output panel and paste it into the browser yourself. Both cases appear in the troubleshooting table later. Step 4: Install the Cline CLI and Authenticate The Cline CLI shares the agent core with the extension but has its own release numbers, its own config and a headless mode that the extension lacks. Install it globally with npm. npm i -g cline cline --help cline auth The cline auth command runs the same authentication flow as the IDE and lets you choose a provider and model. The docs list cline a as a shorthand. For ClinePass subscribers, the CLI route is slightly different: open the settings view with /settings inside an interactive session and select ClinePass as the provider. Three more commands earn a place in your muscle memory before you do real work. - cline config prints the current configuration, which settles most “why did it pick that model” arguments. - cline doctor diagnoses and repairs configuration problems. - cline history shows and manages past tasks, which helps when you want to recover a half-finished session. Run cline --version after the install if your build supports it, and compare the result with the table in the prerequisites section. Before v3.0.72 the CLI accepted CLINE PLUGIN MODE=in process . Version 3.0.72 and later run plugins in a worker by default and also support a sandbox mode. If you use plugins, this single change breaks old setups, so check before you blame the plugin author. Start an interactive session with cline and ask a harmless question to confirm the loop works. The docs show the three entry points you will use most: cline for an interactive session, cline "refactor this module to use async/await" for a one-shot task, and cline --json "list TODO comments" for structured output in scripts. With the Cline CLI running, keep an eye on the first response time, because a hang here usually means the provider selection did not stick. A permission error during npm i -g cline is the most common install snag on Linux and macOS. Resist the urge to rerun it with sudo . A root-owned global folder causes update failures later and lets install scripts run with more rights than they need. Point npm at a user-level prefix instead, add that folder’s bin directory to your PATH, and rerun the install. On Windows, open a fresh terminal after the install so the new PATH entry loads, and check that your editor’s integrated terminal inherits it. Once cline --help prints, compare cline config with the provider the IDE shows. The two surfaces keep separate sessions, so signing in on one does not always sign you in on the other. Step 5: Create the Demo Project Any open source ai coding assistant needs a real repo to prove itself on. The demo is logscrub, a small Python module that strips secrets and personal data from log lines. It is the kind of utility every team writes once, and it gives Cline a clean, testable feature to add. Browse more tools like this in our coding and developer tools coverage https://shattered.io/category/software/ if you want other projects to practice on. mkdir cline-demo && cd cline-demo git init -b main python3 -m venv .venv && . .venv/bin/activate pip install pytest mkdir -p src/logscrub tests scripts Create pyproject.toml first. It registers the console script and tells pytest where the source lives, so imports work without installing the package. project name = "logscrub" version = "0.1.0" requires-python = " =3.10" project.scripts logscrub = "logscrub.cli:main" tool.pytest.ini options pythonpath = "src" testpaths = "tests" Next, the module itself. It holds an ordered list of named patterns and replaces every match with a marker such as REDACTED:email . Order matters, because the email pattern must run before anything that could chew up part of an address. src/logscrub/scrub.py """Redact secrets and personal data from log lines.""" import re PATTERNS = "bearer", re.compile r" ?i \bBearer\s+ A-Za-z0-9. ~+/=- {8,}" , "api key", re.compile r" ?i \b api - ?key|token|secret \s =: \s ^\s,; {6,}" , "aws key", re.compile r"\bAKIA 0-9A-Z {16}\b" , "email", re.compile r"\b \w.+- +@ \w- +\. \w.- +\b" , "ipv4", re.compile r"\b ?:\d{1,3}\. {3}\d{1,3}\b" , def scrub line line: str - str: """Replace every match with a REDACTED: