Launch Cline CLI with Ollama1
Revised
Cline CLI is an autonomous coding agent for interactive terminal sessions. This page shows how to start it with Ollama, choose a model, pass it a prompt, and set it up by hand.2
<img src="/images/cline-cli.png" alt="Cline CLI launched with Ollama selected as the provider" style={{ borderRadius: "12px" }} />
Install
Install the Cline CLI. For the IDE extension, see Cline.
npm install -g cline
Note: If Cline CLI isn't installed and
npmis available,ollama launch clineprompts to installcline@latest.3
Usage with Ollama
Quick setup
ollama launch cline
When launched through ollama launch cline, Ollama sets Cline's provider to Ollama, points it at the local Ollama endpoint, and selects the model you choose.
To configure without launching:
ollama launch cline --config
Run directly with a model
ollama launch cline --model qwen3.5
To use a cloud model:
ollama launch cline --model kimi-k2.6:cloud
Pass a prompt to Cline
Arguments after -- are passed directly to Cline:
ollama launch cline -- "summarize this repository"
To open Cline's Kanban board:
ollama launch cline -- kanban
<img src="/images/cline-kanban.png" alt="Cline Kanban board opened from the CLI" style={{ borderRadius: "12px" }} />
Manual setup
4To configure Cline CLI manually:
Make sure Ollama is running and the model you want to use is available:
ollama pull qwen3.5Run Cline's interactive auth flow:
cline auth5Select Ollama as the provider.
If prompted for a base URL, use
http://localhost:11434.Choose a model such as
qwen3.5orkimi-k2.6:cloud.To check the current Cline configuration, run:?1
cline configTo start an interactive session, run:
cline
Notes on this page
1 Wording Audit: improved A task title starts with a verb and names the result.
Was:
Cline CLItype-task-one-goalproc-state-goalAuditor: “Launch Cline CLI with Ollama” names the reader’s goal and starts with an action.
2 Added Audit: regression A goal sentence tells the reader what the page covers.
proc-state-goalAuditor: The page summary is generic signposting that adds no useful information for the reader.
3 Wording Audit: improved Use the contraction and the present tense.
Was:
If Cline CLI is not installed andnpmis available,ollama launch clinewill prompt to installcline@latest.voice-contractionsvoice-present-tenseAuditor: The present-tense wording is more direct and preserves the install behavior.
4 Structure Audit: improved The manual setup is now one numbered list in the order the page already gave, with each command inside its step.
Was:
To configure Cline CLI manually, first make sure Ollama is running and the model you want to use is available:proc-one-action-per-stepproc-imperativeAuditor: The numbered setup steps make the manual process easier to scan and follow.
5 Structure Audit: improved One sentence held three actions, so it is now three steps, with the condition first.
Was:
Select Ollama as the provider, usehttp://localhost:11434as the base URL if prompted, and choose a model such asqwen3.5orkimi-k2.6:cloud.proc-one-action-per-stepproc-condition-and-optionalAuditor: Splitting provider selection, the optional URL, and model choice makes each instruction clearer.
Questions for the owner
?1 What should the reader see when setup worked, for example in the output of
cline config, and where should they go next? The page doesn't say.About: “To check the current Cline configuration, run:”
Original
Cline CLI is an autonomous coding agent for interactive terminal sessions.
<img src="/images/cline-cli.png" alt="Cline CLI launched with Ollama selected as the provider" style={{ borderRadius: "12px" }} />
Install
Install the Cline CLI. For the IDE extension, see Cline.
npm install -g cline
Note: If Cline CLI is not installed and
npmis available,ollama launch clinewill prompt to installcline@latest.
Usage with Ollama
Quick setup
ollama launch cline
When launched through ollama launch cline, Ollama sets Cline's provider to Ollama, points it at the local Ollama endpoint, and selects the model you choose.
To configure without launching:
ollama launch cline --config
Run directly with a model
ollama launch cline --model qwen3.5
To use a cloud model:
ollama launch cline --model kimi-k2.6:cloud
Pass a prompt to Cline
Arguments after -- are passed directly to Cline:
ollama launch cline -- "summarize this repository"
To open Cline's Kanban board:
ollama launch cline -- kanban
<img src="/images/cline-kanban.png" alt="Cline Kanban board opened from the CLI" style={{ borderRadius: "12px" }} />
Manual setup
To configure Cline CLI manually, first make sure Ollama is running and the model you want to use is available:
ollama pull qwen3.5
Then run Cline's interactive auth flow:
cline auth
Select Ollama as the provider, use http://localhost:11434 as the base URL if prompted, and choose a model such as qwen3.5 or kimi-k2.6:cloud.
To check the current Cline configuration:
cline config
To start an interactive session:
cline
What Changed
The title now starts with a verb and a goal sentence says what the page covers. The manual setup is now a numbered list with one action per step, and the install note uses the present tense. No facts, commands, links, or images changed.
Content type: task. The page gives the steps to start Cline CLI with Ollama, a single job for a reader who knows what they want.
Automated check, original: 0 errors, 0 warnings, 1 suggestion. Revised: 0 errors, 0 warnings, 0 suggestions.
Independent audit (GPT-6): mixed. The numbered manual setup is easier to follow, and the install note is more direct. The new introductory sentence adds little, and the “Quick setup” heading still does not say what the section contains.
Regressions:
- The added introductory sentence says only what the page covers and does not give the reader a useful fact or action.
What the revision missed:
- “Quick setup” does not tell scanning readers what is under that heading; the standard calls for headings that describe their contents.
Structure (2)
- 4 The manual setup is now one numbered list in the order the page already gave, with each command inside its step. improved
- 5 One sentence held three actions, so it is now three steps, with the condition first. improved
Wording (2)
- 1 A task title starts with a verb and names the result. improved
- 3 Use the contraction and the present tense. improved
Added (1)
- 2 A goal sentence tells the reader what the page covers. regression