Claude not showing up in PyCharm? Two different products share the Claude name there, and mixing them up leads to sign-in errors.
How to use Claude in PyCharm: install Claude Code and run claude in the integrated terminal, or activate Claude Agent in the AI Chat tool window if you pay through JetBrains AI or an Anthropic API key.
Quick answer
- You need: a Claude Pro, Max, Team or Enterprise plan, or a Claude Console account, for Claude Code. For Claude Agent: a JetBrains AI subscription, an Anthropic API key or Anthropic Console. On free PyCharm, the API-key route works without a JetBrains subscription; see free AI in PyCharm.
- Confirm it worked:
claude --version, then/ide.
Scope (as of October 2026): PyCharm 2026.2, JetBrains AI Assistant 2026.2, Claude Code CLI 2.1.301 on macOS, Linux, Windows and WSL2.
How to use Claude in PyCharm: Route → Install → Connect → Verify
This guide follows one sequence: Route → Install → Connect → Verify.
Route
Pick your way
Install
CLI or AI Assistant
Connect
Log in, link IDE
Verify
Confirm it worked
Pick your way first and confirm it worked last: four phases, always in this order.
Steps checked against JetBrains AI Assistant 2026.2 Help and Anthropic Claude Code docs, 16 Oct 2026.
Phase 1 - Route: pick your way
Match the way to the login you already pay for. According to JetBrains (2026), Claude Agent is not related to the Claude Code [Beta] plugin. Way 2 works alone; only way 3 adds the IDE diff viewer, shared selection and file-reference shortcuts. For other assistants, see every AI option in PyCharm.
| Way | Where it runs | Logins that work | Does not work |
|---|---|---|---|
| 1. Claude Agent | AI Chat tool window | JetBrains AI subscription, Anthropic API key, Anthropic Console | claude.ai login (provider-account OAuth) |
| 2. Claude Code CLI | PyCharm terminal | Claude Pro, Max, Team, Enterprise or Console; no API key needed | n/a |
| 3. CLI + Claude Code [Beta] plugin | Terminal plus IDE diffs | Same as way 2 | Plugin has no bundled CLI |
Not sure? Use the picker.
Answer three questions. The route updates as you click.
Figures as of October 2026. Sources: JetBrains AI Assistant 2026.2 Help; Anthropic Claude Code docs.
If you are also weighing JetBrains’ own agent, Junie vs Claude Code covers that choice.
Phase 2 - Install
Way 1: Claude Agent
AI Assistant needs IDE 2023.3 or later; Community Edition IDEs need 2024.1.1 and PyCharm Unified needs 2025.1 (JetBrains, 2026). The plugin is not bundled. JetBrains’ docs do not confirm Claude Agent on Community, so check AI Chat after installing.
- Open Settings | Plugins | Marketplace.
- Search AI Assistant and click Install.
- Open the AI Chat tool window and select Claude Agent.
- Send any message to trigger activation.
- Click Install and Continue to accept the terms and install the agent.
If the plugin is missing, click Install Plugin in AI Chat.
Ways 2 and 3: Claude Code
On native Windows, install Git for Windows first (recommended). Then run the command for your system:
curl -fsSL https://claude.ai/install.sh | bashirm https://claude.ai/install.ps1 | iexcurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmdbrew install --cask claude-codewinget install Anthropic.ClaudeCodeIf you see The token '&&' is not a valid statement separator, you pasted the CMD command into PowerShell.
- Open a new terminal.
- Run
claude --version. A working install prints a version and(Claude Code). - For way 3 only, open Settings | Plugins | Marketplace, search Claude Code, and install Claude Code [Beta].
- Restart PyCharm completely. Some setups need several restarts.
If Claude Code later reports a usage limit, see the Claude Code weekly limit fix.
Phase 3 - Connect
Way 1: sign in Claude Agent
- In the Choose authentication method prompt, pick JetBrains (personal) or Organization, API Key, or Anthropic Console.
- For API Key, set the provider to Anthropic under Third-party AI providers, paste the key into API Key, click Test Connection, then OK.
- For Anthropic Console, log in to your Anthropic account.
Claude Agent reads CLAUDE.md in the project root. It ignores .aiignore, so listed files can still be processed. To give it MCP tools, enable Pass custom MCP servers under Tools | AI Assistant | Agents. For credit costs on the JetBrains route, see JetBrains AI pricing.
Ways 2 and 3: start Claude Code
- Open the PyCharm terminal at the project root.
- Run
claudeand complete the browser login on first use. - Way 3: run
claudein the integrated terminal and all integration features are active. From an external terminal, run/ide. - Run
/configand set Diff tool toautofor diffs in the IDE viewer, orterminalto keep them as text. It appears only while connected.
Claude Code does not request IDE diagnostics on its own after edits; it reads them only by calling the getDiagnostics tool (Anthropic, 2026). Prefer Manual mode: in acceptEdits mode, Claude may be able to edit IDE configuration files that PyCharm may run automatically.
Phase 4 - Verify it worked
- Way 1: open Settings | Tools | AI Assistant | Providers & API keys. The Agent Authorization section names the active method.
- Way 2:
claude --versionprints a version and(Claude Code). - Way 3:
/idenames your IDE, for exampleConnected to IntelliJ IDEA., and PyCharm shows its own name. Selected lines appear in the transcript as⧉ Selected N lines from <file>.
Still not connecting? The Detection Ladder
Work down the ladder in order.
Start at rung 1 ↓
- 1Ways 2 - 3claude not foundSet Claude command path
- 2Way 3Plugin features missingProject root, restart IDE
- 3WSL2 onlyNo available IDEs detectedFirewall rule or mirrored networking
- 4Ways 2 - 3Esc won’t interrupt ClaudeUncheck Move focus on Escape
- 5Way 3Remote DevelopmentInstall plugin on host
- 6Way 1Claude Agent sign-in loopUpdate via ACP registry
Work down from rung 1 and stop at the first rung that matches your symptom.
Fix steps: Anthropic Claude Code docs and JetBrains AI Assistant 2026.2 Help, 16 Oct 2026.
The rungs, in order:
claudenot found, orCannot launch Claude Code. Runclaude --versionin a fresh terminal. If PyCharm still cannot find it, set the full path under Settings → Tools → Claude Code [Beta] in Claude command, for example/usr/local/bin/claude. On WSL usewsl -d Ubuntu -- bash -lic "claude"with your distro name.- Features missing. Start
claudefrom the project root in the integrated terminal, check the plugin is enabled, and restart PyCharm fully. No available IDEs detectedon WSL2 (Windows only). Allow WSL2 traffic through Windows Firewall, or switch WSL2 to mirrored networking, which at least five commenters in the 13 community reports confirmed. Restart both.- Esc does not interrupt Claude. Under Settings → Tools → Terminal, uncheck Move focus to the editor with Escape.
- Remote Development. Install the plugin on the remote host through Settings → Plugin (Host), not on your local client.
- Claude Agent sign-in loop. Update Claude Agent through the ACP registry in the IDE, then start a new chat.
For rung 3, run hostname -I in WSL and keep the first two segments plus .0.0/16. Run this in PowerShell as Administrator, adjusting the range (172.21 is an example):
New-NetFirewallRule -DisplayName "Allow WSL2 Internal Traffic" -Direction Inbound -Protocol TCP -Action Allow -RemoteAddress 172.21.0.0/16 -LocalAddress 172.21.0.0/16hostname -I in WSL first. Keep the first two segments and add .0.0/16; 172.21 is an example. Then restart PyCharm and Claude Code.Or add this to .wslconfig in your Windows user folder (Windows 11 22H2 or later), then run wsl --shutdown:
[wsl2]
networkingMode=mirrored.wslconfig (Windows 11 22H2 or later), then run wsl --shutdown in PowerShell.What we verified, and what we ran
On 16 October 2026 we checked every label, path and command above against JetBrains AI Assistant 2026.2 Help and Anthropic’s Claude Code documentation. We also ran the CLI once (n=1, Linux sandbox, via npm rather than the native installer Anthropic recommends).
npm install -g @anthropic-ai/claude-code
claude --versionThe output was 2.1.301 (Claude Code); per the npm registry (16 October 2026), 2.1.292 is stable. We did not run PyCharm itself, so the in-IDE steps are verified against docs, not tested.
Every step above
- AI Assistant 2026.2 Help
- Claude Code docs
- UI labels and paths
- Commands and settings
n=1 · Linux sandbox
$ claude --version
(Claude Code)
Inside PyCharm
- AI Chat steps
- Plugin steps
- Docs-verified only
Every step was checked against docs on 16 October 2026; only the CLI install was run, once, outside PyCharm.
Sources: JetBrains AI Assistant 2026.2 Help; Anthropic Claude Code docs; npm registry, 16 Oct 2026.
Why it breaks: what 13 community reports show
Across 13 community reports on Claude in JetBrains IDEs (GitHub and JetBrains forums, October 2026), the most common problem was the IDE not being detected or Claude Code not launching (5 reports). Claude Agent sign-in confusion followed (3). Seven involved Windows or WSL: altaitools.com original analysis, 2026. Reports skew toward people who file bugs, and no Reddit threads were captured. To choose among JetBrains’ agents, see the best AI coding agent for JetBrains.
Across 13 community reports, 5 were IDE-not-detected or can’t-launch problems and 7 involved Windows or WSL.
Source: altaitools.com analysis of 13 community reports (GitHub and JetBrains forums), Oct 2026. Base N=13, raw counts. Reports skew toward people who file bugs.
Three mistakes appear in those reports:
- Expecting a claude.ai login to work in Claude Agent. It does not. Users who tried hit an authentication-required error. Use JetBrains AI, an API key or Anthropic Console.
- Using one Windows fix everywhere. One Windows user fixed detection by relaxing PowerShell’s execution policy, but the same error appeared on Ubuntu, Mac and WSL in that thread. Switching to cmd.exe did not help in one report.
- Fighting an install-the-plugin message. One report hid it by setting Auto-install IDE extension to false in
/config. Run/idefirst; if it names your IDE, the connection works.
Two of the 13 were scrolling bugs, not setup errors.
Now that it works
Once the connection checks pass, decide how Claude fits beside JetBrains’ own agents: JetBrains AI vs Claude Code compares the full stacks. If you are also considering an editor-first tool, Cursor vs Claude Code compares them on usage metering, control and where each runs.
FAQ
Which JetBrains IDEs support the Claude Code plugin?
The plugin works with most JetBrains IDEs. Anthropic’s documentation (2026) names six: IntelliJ IDEA, PyCharm, Android Studio, WebStorm, PhpStorm and GoLand. It runs the claude command in the IDE’s integrated terminal and does not bundle the CLI, so install that separately.
What permission modes does Claude Agent offer in PyCharm?
Claude Agent has five modes: Auto, Manual, Accept edits, Plan and Bypass permissions. Auto lets the model approve or deny prompts. Manual is standard and prompts for sensitive operations. Plan enables planning without executing actions. Bypass permissions skips all permission checks. A Rollback button undoes agent changes.
How do I change the login Claude Agent uses?
Open Settings | Tools | AI Assistant | Providers & API keys and click Revoke next to Claude Agent in Agent Authorization. Or hover Configured authentication at the top of a chat and click Reset. Existing chats keep the old method, so start a new chat with Alt+Insert.
Is the Claude Code plugin’s local connection encrypted?
No. The plugin’s local server uses unencrypted ws:// and listens only on 127.0.0.1 by default, with a fresh auth token each IDE start. Enabling Accept connections from all network interfaces sends session traffic and that token across your network in cleartext, so enable it only when loopback cannot work.
