GuidesHosting choices

Claude Code in JetBrains IDEs: plugin, /ide, WSL and fixes

Install the Claude Code plugin in IntelliJ, PyCharm or WebStorm, connect an outside terminal with /ide, fix WSL2's "No available IDEs detected", Remote Dev.

November 27, 2026The Everpod team
The short answer

Claude Code works in IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, GoLand, Android Studio and most other JetBrains IDEs through Anthropic’s free Claude Code [Beta] plugin on the JetBrains Marketplace. The plugin does not contain Claude Code: install the claude CLI first, then the plugin, and restart the IDE. Run claude in the IDE’s terminal (or press Ctrl+Esc, Cmd+Esc on a Mac) and it connects by itself: proposed edits open in the IDE’s diff viewer, and your selection and open file go along with each prompt. From any other terminal, run /ide inside claude to connect.

Which IDEs the plugin supports

Anthropic’s JetBrains page says the plugin “works with most JetBrains IDEs” and names IntelliJ IDEA, PyCharm, Android Studio, WebStorm, PhpStorm and GoLand. The Marketplace listing (vendor Anthropic PBC) is wider. As of November 2026 its latest release is marked compatible with these, with no upper version limit:

IDEFrom
IntelliJ IDEA, Ultimate and Community
2024.2
PyCharm, Professional and Community
2024.2
WebStorm, PhpStorm, GoLand, RubyMine
2024.2
CLion, Rider, DataSpell
2024.2
MPS
2024.3
Android Studio
Ladybug (2024.2.1)
JetBrains Gateway
2024.2 (for Remote Development the plugin goes on the host; see below)

The listing’s compatibility data also carries a few product codes it does not name, so an IDE missing from this table may still take the plugin. IDE versions older than 2024.2 are outside the range.

Install it

The plugin starts the claude command in the IDE’s integrated terminal and connects to it, so both pieces are needed:

  1. Install the CLI and check it runs from a terminal with claude --version. Installing Claude Code has every route for macOS, Windows and Linux.
  2. Install Claude Code [Beta] from the JetBrains Marketplace, through the IDE’s plugin settings or the listing linked above, and restart the IDE.
  3. Run claude once in the IDE’s terminal and sign in when it asks. Any paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account works, and no API key is needed. Third-party providers such as Amazon Bedrock work too, because the plugin runs the same CLI in the IDE’s terminal.

If the IDE shows a Cannot launch Claude Code notification, the IDE cannot find claude on its PATH. Set the full path under Settings → Tools → Claude Code [Beta] → Claude command, for example /usr/local/bin/claude or wherever claude is installed on your machine.

Unlike VS Code, Cursor and Devin Desktop, a JetBrains IDE does not get its plugin installed for you: Anthropic’s description of the autoInstallIdeExtension setting covers only those three editors. Install it from the Marketplace yourself.

What it adds over Claude Code in a plain terminal

Everything else is the CLI itself, since the plugin runs the same claude command you would run in any terminal. Settings are covered in Claude Code’s settings.json. If you want a graphical chat panel rather than a terminal, that is what the VS Code extension offers; Claude Code in VS Code covers it. In JetBrains IDEs, Claude Code is a terminal session.

Connect a claude started in another terminal: /ide

If you run claude in iTerm2, Windows Terminal, a tmux pane or any terminal outside the IDE, it doesn’t connect on its own. With the IDE open on the same project, type this inside the session:

/ide
Copied

/ide manages the IDE connection and shows its status. On success Claude Code answers with a message like Connected to IntelliJ IDEA. Start claude from the IDE project’s root directory so both see the same files. Three ways to skip the manual step:

claude --ide                          # connect at startup if exactly one IDE is found
CLAUDE_CODE_AUTO_CONNECT_IDE=true claude   # force a connection attempt for this session
Copied

The third is permanent: in /config, turn on Auto-connect to IDE (external terminal) (it appears there when you run Claude Code outside an IDE terminal), saved as autoConnectIde in ~/.claude.json (default false). The environment variable wins over that setting for the session it is set in. Anthropic suggests CLAUDE_CODE_AUTO_CONNECT_IDE=true for when auto-detection fails, such as when tmux hides the parent terminal.

Plugin settings

Under Settings → Tools → Claude Code [Beta]:

SettingWhat it does
Claude command
The command the plugin runs: claude, a full path such as /usr/local/bin/claude, npx @anthropic-ai/claude-code, or a WSL command (below)
Suppress notification for when Claude Command is not found
Stops the not-found notification
Enable using Option+Enter for multi-line prompts
macOS only: Option+Enter adds a new line in the prompt. Turn it off if Option is being captured. Restart the terminal after changing it
Enable automatic updates
Checks for and installs plugin updates, applied on restart
Networking (Advanced) → Accept connections from all network interfaces
Off by default. See the security notes below before turning it on

If Escape moves focus to the editor instead of interrupting Claude, go to Settings → Tools → Terminal and either uncheck Move focus to the editor with Escape, or open Configure terminal keybindings and delete the Switch focus to Editor shortcut. For new lines in the prompt in the JetBrains terminal, see Claude Code new lines.

WSL: Claude Code in Linux, the IDE on Windows

To run the WSL copy of Claude Code from a Windows JetBrains IDE, set Claude command to the following, with your distribution’s name in place of Ubuntu:

wsl -d Ubuntu -- bash -lic "claude"
Copied

On WSL2, /ide often reports No available IDEs detected. Anthropic puts this down to WSL2’s NAT networking or Windows Firewall blocking WSL2 from reaching the IDE on Windows; WSL1 shares the host’s network and isn’t affected. The recommended fix keeps your networking mode and allows traffic from the WSL2 subnet. In WSL, find the address:

hostname -I
Copied

Take its first two numbers and add .0.0/16: an address of 172.21.123.45 gives 172.21.0.0/16. Then, in PowerShell run as Administrator, with your subnet in both places:

New-NetFirewallRule -DisplayName "Allow WSL2 Internal Traffic" -Direction Inbound -Protocol TCP -Action Allow -RemoteAddress 172.21.0.0/16 -LocalAddress 172.21.0.0/16
Copied

The rule lets any TCP connection in, on every port, when it comes from an address in that range and is aimed at one of Windows’ own addresses in the same range: in practice, from your WSL2 Linux to Windows over the virtual network the two share. Nothing from addresses outside the range is allowed by it. Restart the IDE and Claude Code afterwards. The alternative is mirrored networking, which shares Windows’ loopback interface with the Linux VM. It requires Windows 11 22H2 or later; on Windows 10, use the firewall rule. Add this to .wslconfig in your Windows user folder, then run wsl --shutdown from PowerShell:

[wsl2]
networkingMode=mirrored
Copied

The wider Windows picture, native against WSL, is in Claude Code on Windows.

Remote Development and servers

With JetBrains Remote Development, Anthropic’s page is explicit: install the plugin on the remote host through Settings → Plugin (Host), not on your local client machine. The plugin runs claude rather than bundling it, so install the CLI on the host as well. For a Linux host, Claude Code on Linux covers signing in on a server with no browser.

The plugin talks to claude over a local connection that, by default, accepts connections only on 127.0.0.1, where a claude running on another machine, such as a server you reached over plain SSH, cannot reach it. Anthropic names a remote-IDE setup as one reason the Accept connections from all network interfaces setting exists, but gives no steps for it, and that setting sends the session and its token unencrypted (see the security notes). That leaves two routes: run the IDE’s backend on the server through Remote Development, or use Claude Code there in an ordinary terminal. If you want Anthropic’s own apps to work on a server rather than an IDE, the desktop apps over SSH covers what each one needs.

Common problems

What you seeWhat to do
Plugin installed, but no diffs or selection context
Start claude from the project root, check the plugin is enabled under Plugins, and restart the IDE fully; Anthropic notes this may take more than one restart. On Remote Development, check the plugin is installed on the host
/ide says No available IDEs detected
Check the plugin is installed and enabled, and restart the IDE. If you expected it to connect without /ide, check claude was started in the IDE’s own terminal. On WSL2, see the firewall fix above. If the IDE is running and still not found, CLAUDE_CODE_IDE_SKIP_VALID_CHECK=1 skips validation of the lock-file entries Claude Code uses to find it
Clicking the Claude icon gives “command not found”, or Cannot launch Claude Code
Run claude --version in a terminal to confirm it is installed, then set the full path in Claude command. On WSL, use the wsl -d form
Escape doesn’t stop Claude
The terminal Escape settings above
No Diff tool entry in /config
It only shows while connected. Run /ide first

For problems with installing or signing in that happen outside the IDE as well, Anthropic’s install troubleshooting page is the place to start.

Security notes

Auto-approved edits reach IDE config. Anthropic warns that in acceptEdits mode, Claude Code in a JetBrains IDE “may be able to modify IDE configuration files that can be automatically executed by your IDE”, which can get around its prompts before running shell commands. The docs suggest approving edits by hand in JetBrains IDEs, since both acceptEdits and auto mode approve edits inside the working directory without asking, and using Claude only with prompts you trust.

Keep secrets out of the selection. Selecting text in a file sends it with your next prompt. A Read deny rule for a path, such as .env, stops both the selection and the open-file notice for that file reaching Claude.

Leave the network setting off unless you need it. The plugin runs a small local server, named ide and hidden from /mcp, on a random port. It is unencrypted ws://, protected by a token the IDE writes to ~/.claude/ide/<port>.lock on each start (under $CLAUDE_CONFIG_DIR/ide/ if you set that variable). With Accept connections from all network interfaces off, it listens on 127.0.0.1 only. Turned on, the port is reachable from your local network, and the session traffic and the token cross it in cleartext. Anthropic says to turn it on only when loopback can’t work, and for WSL2 to prefer mirrored networking instead. The only tool that server offers the model is the read-only mcp__ide__getDiagnostics; the JetBrains plugin exposes no code-execution tool. If you allow-list MCP tools with a PreToolUse hook, that is the name to allow.

Run Claude Code on an always-on developer pod.

A developer pod is a permanent cloud computer (VPS), set up and secured for you, with your pick of Claude Code, Codex, OpenCode, Pi, Hermes and OpenClaw installed. Run more agents at once than your laptop can hold, and keep them working when it’s closed. From $24 a month, built in about ten minutes.