Skip to main content
Cline CLI is an autonomous coding agent for interactive terminal sessions. Cline CLI launched with Ollama selected as the provider

Install

Install the Cline CLI. For the IDE extension, see Cline.
If Cline CLI is not installed and npm is available, ollama launch cline will prompt to install cline@latest.

Usage with Ollama

Quick setup

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:

Run directly with a model

To use a cloud model:

Pass a prompt to Cline

Arguments after -- are passed directly to Cline:
To open Cline’s Kanban board:
Cline Kanban board opened from the CLI

Manual setup

To configure Cline CLI manually, first make sure Ollama is running and the model you want to use is available:
Then run Cline’s interactive auth flow:
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:
To start an interactive session: