
Setup
First, you’ll need to install and authenticate Claude Code on your system:- Install Claude Code: Follow Anthropic’s official setup guide to install and authenticate the Claude CLI.
-
Configure in Cline:
- Open Cline settings (⚙️ icon)
- Select Claude Code from the API Provider dropdown
- Set the path to your Claude CLI executable (usually just
claude
if it’s in your PATH)

Windows Setup
Windows Setup
Anthropic introduced full support for Claude Code on Windows. Follow the instructions on how to set up Claude Code
normally and make sure you have the latest Claude Code and Cline versions.
Finding your Claude Code path
If you’re not sure where Claude Code is installed:- macOS / Linux: Run
which claude
in your terminal - Windows (Command Prompt): Run
where claude
- Windows (PowerShell): Run
Get-Command claude
Supported Models
The Claude Code provider supports these models:claude-sonnet-4-20250514
(Recommended)claude-opus-4-1-20250805
claude-opus-4-20250514
claude-3-7-sonnet-20250219
claude-3-5-sonnet-20241022
claude-3-5-haiku-20241022
How it works
When you use Claude Code with Cline, here’s what happens behind the scenes: Cline wraps the Claude Code CLI to handle your requests. Each time you send a message, Cline starts a newclaude
process, sends your conversation, and streams the response back. The AI reasoning comes from Claude Code, but all the actual file editing, terminal commands, and other tools are handled by Cline.
The main difference you’ll notice is that responses don’t stream character-by-character like other providers. Instead, Claude Code processes your full request before sending back the complete response.
Limitations
There are a few things to keep in mind with Claude Code:- Images in your messages get converted to text placeholders since Claude Code doesn’t support image uploads through the CLI
- Prompt caching isn’t available with this provider
- Responses don’t stream in real-time like other providers
Troubleshooting
If you run into issues: Authentication problems: Make sure you’re logged into Claude Code with your subscription account. Runclaude auth status
to check.
Path issues: Double-check that the Claude CLI path in Cline’s settings is correct. Try running claude --version
in your terminal to verify it’s working.
Still having trouble? We’re actively improving this integration. Report issues on our GitHub or ask for help in our Discord.