# Claude Code JetBrains Plugin

> Links Claude Code to JetBrains IDEs. Changes open in the IDE's own diff viewer.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** Claude Code for IntelliJ, Claude Code PyCharm plugin, Claude Code in JetBrains IDEs, Cmd+Esc, Ctrl+Esc, Cmd+Option+K, Alt+Ctrl+K

## Think of it like

It is like a cable that joins your phone to a car screen. The phone does the work, and the screen shows it.

## Definition

The Claude Code JetBrains plugin links Claude Code to IDEs like IntelliJ IDEA, PyCharm and WebStorm. It runs the claude command in the IDE's own terminal and connects to it. Changes then open in the IDE's diff viewer, not in the terminal. The file or lines you have selected are shared with Claude, and so are the IDE's error marks. The plugin does not carry Claude Code itself, so you install both.

## Example

Jack works in PyCharm. He presses Ctrl+Esc, Claude Code opens in the terminal, and its edits appear side by side in PyCharm's diff view.

## Example code

```console
/ide
```

Run this in an outside terminal to link Claude Code to the open IDE.

## Why it matters

You review changes in the tool you already use. The IDE's own error marks stay in view.

## Common mistake

Installing only the plugin. It needs the claude command on your path, or it says it cannot launch.

## Three principles

- **Uses the real CLI.** Runs claude in the IDE terminal.
- **IDE diff viewer.** Review changes side by side.
- **Shares your selection.** And the IDE's error marks.

## Related terms

- [/ide Command](https://learn.benibix.com/term/ai/ide-command)
- [--ide Flag](https://learn.benibix.com/term/ai/ide-flag)
- [Claude Code VS Code Extension](https://learn.benibix.com/term/ai/claude-code-vs-code-extension)
- [Integrated Development Environment (IDE)](https://learn.benibix.com/term/development/ide)
- [Editor Extension](https://learn.benibix.com/term/development/editor-extension)

## Told apart from

- [Claude Code VS Code Extension vs JetBrains Plugin](https://learn.benibix.com/compare/claude-code-vs-code-extension-vs-claude-code-jetbrains-plugin): People think the VS Code extension and the JetBrains plugin work the same way. They do not. The VS Code extension brings its own copy of Claude Code and shows it in a side panel. The JetBrains plugin brings no copy. It runs the claude command you installed in the editor's terminal and links to it. So the JetBrains plugin will not start until Claude Code is installed on its own.

![Three panels. The VS Code extension holds its own copy of Claude Code in a side panel. The JetBrains plugin runs the claude command in the IDE's terminal and links to it. A dev container box holds Claude Code, the terminal and the build tools, with the project folder mounted inside.](https://learn.benibix.com/diagrams/ai8-cc-editors.svg)

---

Source: https://learn.benibix.com/term/ai/claude-code-jetbrains-plugin
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
