Claude Code Not Showing in Cursor? Extension Install Fixes

Claude Code Not Showing in Cursor? Extension Install Fixes

Claude Code not showing in Cursor usually comes down to one of four things: the extension isn’t installed in Cursor itself, Cursor hasn’t reloaded since you installed it, no file is open (so the Spark icon stays hidden), or the folder is open in Restricted Mode. When you set up Claude Code in Cursor, each of these takes under a minute to check.

The quick fix: open Cursor’s Extensions view with Cmd+Shift+X (Mac) or Ctrl+Shift+X (Windows and Linux), search for “Claude Code”, and make sure the one from Anthropic is installed and enabled. Then run Developer: Reload Window from the Command Palette, open any file, and look for the Spark icon in the top-right corner of the editor, or click Claude Code in the Status Bar.

If you use the terminal version instead and /ide says “No available IDEs detected”, Claude Code can’t see a running extension in Cursor. The rest of this guide walks through every cause, with screenshots of the official docs and real terminal output from our Mac.

Browse all our Claude Code tutorials for more fixes and how-tos.

Checked with Claude Code v2.1.332 on macOS on December 6, 2026.

We didn’t install Cursor or sign in to it for this guide, so the Cursor steps come from Anthropic’s official VS Code extension docs, which include Cursor, and we say so each time. Our terminal screenshots show real, safe commands run in a throwaway demo folder.

We tested on macOS; the Windows and Linux steps follow Anthropic’s official instructions.

Quick Summary: Why Claude Code Is Not Showing in Cursor

Find what you see in the first column. Every fix is based on the official docs.

What you seeLikely causeFix
Claude Code isn’t in Cursor’s Extensions listIt was installed in VS Code, not CursorUse the Install for Cursor link or search “Claude Code” in Cursor
Installed, but nothing appearsCursor hasn’t reloadedRun Developer: Reload Window or restart Cursor
No Spark icon in the editor toolbarNo file is openOpen a file, or click Claude Code in the Status Bar
Icon missing even with a file openWorkspace is in Restricted ModeTrust the folder
Still hidden after all thatAnother AI extension conflictsDisable it for a test
Panel opens but is blankOld extension versionUpdate the extension, reload, check Claude Code: Show Logs
/ide says No available IDEs detectedExtension not running in CursorInstall it, then start claude in Cursor’s terminal
Extension won’t install at allOld editor build or install blockedUpdate Cursor, check install permissions, try the store page

How the Claude Code Extension Works in Cursor

Cursor is built on VS Code, so it runs the same Claude Code extension that VS Code uses. Anthropic’s VS Code docs even list a separate “Install for Cursor” link right next to the VS Code one.

Claude Code VS Code docs Install the extension section with the Install for Cursor link highlighted
The official docs give Cursor its own install link, right under the VS Code one.

There are really two ways to use Claude Code inside Cursor, and they fail in different ways:

  • The extension gives you the graphical chat panel, opened from the Spark icon, the Activity Bar or the Status Bar. It bundles its own copy of Claude Code, so it works even if you never installed the CLI.
  • The CLI is the claude command you type in Cursor’s integrated terminal. It needs the standalone CLI install, and it connects to the extension for diffs and your current selection.

The docs point out that installing the extension doesn’t put claude on your shell PATH. So “Claude Code not showing” can mean the panel is missing, or it can mean the terminal can’t find Cursor. Pick the section that matches your case.

Decision ladder for Claude Code not showing in Cursor: install it, open a file and reload, update the extension, make sure the extension is running, or use the CLI
Work from the top: most people stop at the first or second step.

Fix 1: Install the Extension in Cursor, Not Just VS Code

This is the most common mix-up. Cursor keeps its own extensions, separate from VS Code. If you installed Claude Code in VS Code last week, Cursor won’t have it.

  1. Open the VS Code docs and click Install for Cursor. It opens Cursor and goes straight to the extension.
  2. Or, inside Cursor, press Cmd+Shift+X (Mac) or Ctrl+Shift+X (Windows and Linux) to open the Extensions view.
  3. Search for “Claude Code” and pick the one published by Anthropic.
  4. Click Install, then reload the window (Fix 2).

Check the publisher name before you click Install. The docs say marketplaces are third-party software that Anthropic doesn’t audit, and that Anthropic publishes the extension to the Visual Studio Marketplace and the Open VSX Registry.

Claude Code docs note on extension marketplaces and Open VSX, plus the tip to restart or reload the window if the extension does not appear
Where the official extension is published, and the docs’ first tip when it doesn’t appear.

That publisher check matters in Cursor in particular. In late October, a tampered copy of the extension briefly reached Cursor’s marketplace, and we covered how to spot it in our extension backdoor check.

Installing Claude Code in VS Code doesn’t install it in Cursor. Each editor needs its own copy.

Check the editor version

The docs list VS Code 1.94.0 or later as the minimum. Cursor is a VS Code fork, so a very old Cursor build may be based on an older VS Code release. If the install fails or the extension won’t activate, update Cursor first.

Claude Code VS Code extension prerequisites with VS Code 1.94.0 or later highlighted
The minimum editor version from the official prerequisites.

Fix 2: Reload Cursor After Installing

The docs give one clear instruction for this: if the extension doesn’t appear after installation, restart the editor or run Developer: Reload Window from the Command Palette.

  1. Press Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows and Linux).
  2. Type Developer: Reload Window and press Enter.
  3. Wait a few seconds for Cursor to load extensions again.

A reload is quick and keeps your open files. If it doesn’t help, fully quit Cursor and open it again, so every extension starts fresh.

Fix 3: Find the Spark Icon (It Hides Without an Open File)

Many people install the extension correctly and then can’t find it. The Spark icon in the Editor Toolbar, at the top right of the editor, only appears when you have a file open.

The docs list three other ways to open Claude Code:

  • Activity Bar: the Spark icon in the side bar opens the sessions list, and it’s always visible.
  • Command Palette: type “Claude Code” and pick an option like Open in New Tab.
  • Status Bar: click Claude Code in the bottom-right corner. This works with no file open.

If none of those show Claude Code, work through the docs’ troubleshooting list for a missing Spark icon. Two items on it are easy to miss.

Spark icon not visible troubleshooting steps in the Claude Code docs with the workspace trust item highlighted
The official checklist for a missing Spark icon, including workspace trust.

Trust the workspace

The docs say the extension doesn’t work in Restricted Mode. When you open a folder you haven’t trusted, the editor can open it in Restricted Mode and hold back extensions. Trust the folder when the editor asks, and the extension can start.

Turn off other AI extensions for a test

The docs also suggest temporarily disabling other AI extensions, naming Cline and Continue as examples. Disable them, reload the window, and check again. If Claude Code appears, turn the others back on one at a time to find the conflict.

Fix 4: The Panel Is Blank or Won’t Load

Sometimes the panel opens but shows nothing, not even the prompt box. The docs say to update the extension to v2.1.309 or later in the Extensions view, then run Developer: Reload Window.

If you then see a “Claude Code couldn’t load” notice, follow its steps in order. If it’s still blank, run Claude Code: Show Logs from the Command Palette. The log names the real problem, and you can attach it to a bug report.

Remember the extension’s version number is the Claude Code version it bundles. If a feature in the docs needs v2.1.286 or later, your extension in Cursor needs version 2.1.286 or later too.

Fix 5: “No Available IDEs Detected” in Cursor’s Terminal

This one is for people who run claude in a terminal and want it to work with Cursor. When the CLI can’t find a running editor extension, /ide shows this real message:

Claude Code terminal showing the /ide command result No available IDEs detected
Real output from our demo folder, where no editor was running the extension.

The docs explain an important change. Claude Code v2.1.318 or later doesn’t install the extension for you when you start claude in the integrated terminal. Until you install it, /ide reports “No available IDEs detected” and /status shows the IDE as “Not connected”.

Claude Code docs explaining how the CLI connects to the extension from the integrated terminal and from an external terminal with /ide
How the CLI connects from the editor’s own terminal and from an outside one.

So the fix depends on where you run claude:

  • In Cursor’s integrated terminal: install the extension in Cursor (Fix 1), reload, then start claude again. It connects on its own.
  • In an outside terminal, such as Terminal or iTerm: keep Cursor open with the extension running, then type /ide and pick Cursor from the list.

Why the CLI can’t see Cursor

When the extension starts, it writes a lock file to ~/.claude/ide/ with a random port and a fresh auth token. The CLI reads that file to find the editor. No lock file means no running extension, so there’s nothing to connect to.

Flow diagram: Cursor opens and the extension activates, a lock file is written to the .claude/ide folder, claude reads it, then connects for diffs, selection and errors
The CLI finds Cursor through a lock file that only a running extension creates.

You can check this yourself without changing anything. On our Mac, with no editor running the extension, the folder didn’t exist at all:

Terminal showing claude --version 2.1.332 and ls of the .claude/ide folder returning No such file or directory
Real output: no lock file means no editor extension is running.

With Cursor open and the extension active, you should see a .lock file there. If CLAUDE_CONFIG_DIR is set, the docs say the lock file goes under that folder’s ide/ folder instead.

Connect automatically from an outside terminal

If you always start claude in a separate terminal app, there’s a setting for that. Type /config and search for “IDE” to find Auto-connect to IDE (external terminal).

Claude Code /config settings search for IDE showing Auto-connect to IDE external terminal set to off
The real /config setting that connects outside terminals to your editor on start.

Fix 6: The Extension Won’t Install at All

If Cursor refuses to install the extension, the docs list three checks:

  1. Make sure the editor is new enough (VS Code 1.94.0 or later base).
  2. Check that the editor has permission to install extensions. A work computer may block extension installs.
  3. Try installing directly from the store page instead of the search box.
Extension won't install troubleshooting section in the Claude Code docs
The docs’ three checks when the extension won’t install.

If your company manages Cursor and blocks extensions, ask your IT team. In the meantime, the docs offer a clean fallback: install the CLI and run claude in the editor’s integrated terminal. The CLI works in any terminal.

When the extension keeps coming back

The opposite problem happens too. You uninstall the extension, and it returns. The docs say running /ide from an outside terminal reinstalls it, and so does starting claude in the integrated terminal on versions before v2.1.318.

Claude Code docs listing how to keep the IDE extension from coming back: autoInstallIdeExtension false or CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL set to 1
Three official ways to stop Claude Code from reinstalling the extension.

To stop that, set autoInstallIdeExtension to false in ~/.claude.json, set CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL to 1 under env in a settings file, or turn off Auto-install IDE extension in /config from the integrated terminal.

Real Examples: What Each Symptom Looks Like

Here’s how the fixes line up with what people usually report:

You sayWhat’s going onFirst thing to try
“It works in VS Code but not Cursor”Extension only installed in VS CodeInstall for Cursor link
“I installed it, nothing changed”Window not reloadedDeveloper: Reload Window
“No icon on the welcome screen”No file openOpen a file or use the Status Bar
“claude runs but no diffs in Cursor”CLI not connected to the extension/ide
“claude: command not found in Cursor”Only the extension is installedInstall the standalone CLI

That last row trips up a lot of people. The extension has a private copy of Claude Code for its panel, but typing claude needs the standalone install. Our IDE setup guide walks through both pieces.

Try It Yourself

Want to confirm your setup in two minutes? Open any small project in Cursor, open one file, and run claude in Cursor’s integrated terminal. Then paste this prompt:

Check whether you're connected to my editor. Tell me which IDE you see,
then list any errors or warnings in the file I have open.
Don't change any files.

If the connection works, Claude can read the editor’s problems list through the built-in IDE tools and name the open file. If it says it can’t see an editor, go back to Fix 5.

Common Mistakes

  • Installing in VS Code and expecting Cursor to pick it up. They keep separate extensions.
  • Looking for the Spark icon on the welcome screen. It only shows when a file is open.
  • Skipping the reload after install. Cursor often needs Developer: Reload Window.
  • Installing a look-alike extension. Always check that the publisher is Anthropic.
  • Expecting the extension to add claude to your PATH. It doesn’t; the CLI is a separate install.
  • Expecting claude to install the extension for you. Since v2.1.318 it doesn’t.

Pro Tips

  • Use the Status Bar entry when you just want to open Claude fast. It works with no file open.
  • Keep Claude Code: Show Logs in mind. It turns “it doesn’t work” into a real error message.
  • The extension and CLI share conversation history, so claude --resume in the terminal can pick up a chat you started in the panel.
  • If your work machine blocks extensions, the CLI in Cursor’s terminal gives you almost everything. Our tool comparison explains how the two tools fit together.
  • Keep the CLI current with claude update and check it with claude --version.

Claude Code in Cursor Cheat Sheet

Save this card for the next time Claude Code goes missing in Cursor.

Cheat sheet of commands and settings to fix Claude Code not showing in Cursor
Install steps, reload commands and CLI checks on one card.

For other error messages, our list of common errors covers the rest, and our VS Code fixes guide handles sign-in and panel problems that apply in Cursor too.

Frequently Asked Questions

Does Claude Code officially work in Cursor?

Yes. Anthropic’s VS Code extension docs include an Install for Cursor link, and the same extension runs in Cursor because Cursor is built on VS Code.

Why do I see Claude Code in VS Code but not in Cursor?

Each editor has its own extensions. Install Claude Code again inside Cursor, then reload the window.

Do I need a paid plan to use the extension in Cursor?

The docs say you need a paid Claude subscription or a Claude Console account, or a third-party provider such as Amazon Bedrock. No API key is required for a Claude account sign-in.

Why does /ide say “No available IDEs detected” with Cursor open?

The Claude Code extension isn’t running in Cursor. Install it, reload Cursor, keep Cursor open, then try /ide again.

Can I use Claude Code in Cursor without the extension?

Yes. Install the CLI and run claude in Cursor’s integrated terminal. You lose the graphical panel and native diffs, but the chat and tools work.

Conclusion

When Claude Code is not showing in Cursor, start with the simple checks: install the Anthropic extension inside Cursor itself, reload the window, open a file so the Spark icon appears, and trust the folder. If the panel is blank, update the extension and read Claude Code: Show Logs. If the terminal says “No available IDEs detected”, the extension isn’t running yet, so install it and start claude from Cursor’s own terminal or connect with /ide. And if Cursor can’t install extensions at all, the CLI still works in any terminal, so you’re never fully locked out. For more about Claude itself, visit our Claude AI page.

Newsletter

New AI tools in your inbox

The best new tools and the AI news that matters, in one short email. Unsubscribe any time.

Free · No spam · Unsubscribe any time

✓ Looks like you’re subscribed

Loading Google’s sign-up form…

Looks like you’re already subscribed

Thanks for reading! New AI tools and the AI news that matters will land in your inbox.

Not subscribed yet? Refresh the page to load the sign-up form.

The sign-up form couldn’t load. If you use an ad or content blocker, allow news.google.com and reload the page.

Free instant check before you pay. Takes a few seconds.

Scroll to Top