Default Command
Runningcline without a subcommand starts an interactive session or executes a task directly.
Syntax
Arguments
Task prompt to execute. If omitted, launches interactive mode.
Options
Run in act mode (default)
Run in plan mode
Enable yolo mode (auto-approve all actions). Forces plain text output.
Timeout in seconds for yolo mode (default: 600)
Model to use for the task (e.g.,
claude-sonnet-4-5-20250929, gpt-4o)Show verbose output including reasoning
Working directory for the task
Path to Cline configuration directory
Enable extended thinking. Default: 1024 tokens. Can specify custom token budget.
Reasoning effort level:
none, low, medium, high, xhighMaximum consecutive mistakes before halting in yolo mode
Output messages as JSON instead of styled text. Forces plain text mode.
Reject first completion attempt to force re-verification
Resume an existing task by ID. Get task IDs from
cline history.Examples
task (alias: t)
Run a new task with a prompt. This is equivalent to the default command but more explicit.Syntax
Arguments
The task prompt describing what you want Cline to do
Options
Same as the default command (see above).Examples
history (alias: h)
List task history with pagination support.Syntax
Options
Number of tasks to show per page (default: 10)
Page number, 1-based (default: 1)
Path to Cline configuration directory
Examples
config
Show current configuration including global and workspace state.Syntax
Options
Path to Cline configuration directory
Examples
auth
Authenticate a provider and configure the model to use.Syntax
Options
Provider ID for quick setup. Supported providers:
anthropic- Anthropic Claudeopenai-native- OpenAIopenai- OpenAI-compatibleopenrouter- OpenRoutermoonshot- Moonshot AI (Kimi)gemini- Google Geminivertex- GCP Vertex AIbedrock- AWS Bedrockazure- Azure OpenAIollama- Ollama (local)lmstudio- LM Studio (local)
API key for the provider
Model ID to configure. Examples:
claude-sonnet-4-5-20250929(Anthropic)gpt-4o(OpenAI)kimi-k2.5(Moonshot)gemini-2.0-flash-exp(Google)
Base URL for OpenAI-compatible providers (optional)
Show verbose output
Working directory
Path to Cline configuration directory
Examples
Bedrock provider requires complex IAM authentication and is not supported for quick setup. Use interactive mode instead.
version
Show the Cline CLI version number.Syntax
Examples
update
Check for updates and install if available.Syntax
Options
Show verbose output
Examples
dev
Developer tools and utilities.Subcommands
dev log
Open the log file for debugging.Advanced Usage
Piped Input
Cline automatically detects piped input and switches to plain text mode:Image Support
Include images in your prompts using inline references:Resuming Tasks
Resume previous tasks by ID (get IDs fromcline history):