When to use interactive mode
Interactive mode is the right choice when you:- Don’t know exactly what you need yet — explore a codebase, ask questions, and understand the architecture before making changes
- Want to review before acting — switch to Plan mode to see Cline’s strategy, then commit to Act mode when you’re ready
- Need iterative refinement — build on previous responses, ask follow-up questions, and guide Cline to the right solution
- Prefer human oversight — review each proposed action, approve file writes, and stay in control of what changes
- Are working on complex tasks — multi-step refactoring, debugging sessions, or feature development that requires judgment
Starting interactive mode
Runcline with no arguments:
Keyboard shortcuts
All navigation and control in the terminal UI is done via keyboard.Mode controls
Input controls
Session controls
File mentions with @
Type @ followed by a filename to include a file from your workspace as context:
@, Cline shows a fuzzy-search dropdown of matching files. Use the arrow keys to navigate and Enter to select.
You can include multiple file references in a single message:
Slash commands
Type/ to see available commands. Built-in slash commands:
If you have workflows configured, they appear as additional slash commands. For example, a workflow named
code-review becomes /code-review.
Settings panel
Open the settings panel with/settings. Navigate between tabs using the arrow keys.
Plan and Act modes
PressTab to toggle between Plan and Act mode. These work the same way as in the VS Code extension — see Plan and Act for a detailed explanation.
Plan mode
In Plan mode, Cline analyzes your request and outlines a strategy before making any changes. Use this when:- Exploring a new or unfamiliar codebase
- Working on a large refactor where you want to agree on the approach first
- You want to catch misunderstandings before any files are touched
Act mode
In Act mode, Cline executes tasks directly. Use this when:- The task is straightforward and well-defined
- You’ve already reviewed the plan and are ready to proceed
- Speed matters more than pre-verification
Auto-approve
PressShift+Tab to toggle auto-approve for all actions. When enabled, Cline skips the per-action confirmation prompts and works continuously without interruption.
When to enable auto-approve
- The task is well-defined and you trust the outcome
- The task has many steps and constant approval prompts would slow you down significantly
- You’re watching the output in real time and can press
Ctrl+Cto stop if something goes wrong
What gets auto-approved
With auto-approve enabled, the following happen without prompting:- File reads
- File writes
- Shell command execution
- Browser actions
- MCP tool calls
/settings → Auto-approve tab, or see Auto-approve.
Session summary
When you exit withCtrl+C, Cline displays a session summary:
- Tasks completed
- Files modified
- Commands executed
- Token usage and cost
Running multiple instances
By default, all CLI instances share the same configuration directory (~/.cline/data/). To run isolated instances with separate providers, API keys, and task history, use the --config flag:
Tips for effective use
Give Cline context upfront. Describe what you’re working on and reference relevant files:Next steps
Headless mode
Run Cline autonomously in scripts and CI/CD pipelines.
CLI reference
Complete documentation for all commands and flags.