# Cursor + Claude code: integration issue

**URL:** <https://forum.cursor.com/t/cursor-claude-code-integration-issue/101500>\
**Category:** Help\
**Created:** [June 7, 2025, 6:28pm UTC](https://forum.cursor.com/t/cursor-claude-code-integration-issue/101500 "2025-06-07T18:28:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ziv770](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ziv770/32/60434_2.png) [@ziv770](https://forum.cursor.com/u/ziv770)\
**Post date:** [June 7, 2025, 6:28pm UTC](https://forum.cursor.com/t/cursor-claude-code-integration-issue/101500/1 "2025-06-07T18:28:33Z")

</div>

I’m running Windows 11 with WSL (Ubuntu), and I managed to install and run Claude code on my local machine (inside the WSL environment) without any issues. Now I’m trying to integrate Claude code into Cursor.

To start with, the official Claude code extension is **not** available in the extension marketplace, which is frustrating. However, according to Anthropic’s documentation, it should be possible to install it in VS Code and IDEs based on VS Code (like Cursor) by simply running `claude` as a command in the built-in terminal.

Well, that’s exactly what I did — but I got an error (see the attached screenshot).  
Where did I go wrong?

 ![1234](https://us1.discourse-cdn.com/cursor1/original/3X/8/4/849b36bba19079630524bbe873d5b4f163ef8ea6.jpeg)

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [June 7, 2025, 7:59pm UTC](https://forum.cursor.com/t/cursor-claude-code-integration-issue/101500/2 "2025-06-07T19:59:44Z")

</div>

Hey, if you have Claude code installed in the WSL environment and you’re using PowerShell in Cursor, I think that’s where the problem lies. Try changing the default terminal or open a new one in the terminal selection.

> **[Terminal Profiles](https://code.visualstudio.com/docs/terminal/profiles#_wsl)**
>
> Visual Studio Code's integrated terminal allows configuring various profiles to make launching various shells easier.

---

<div class="post-metadata">

**Author:** ![aldinokemal](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aldinokemal/32/23815_2.png) [@aldinokemal](https://forum.cursor.com/u/aldinokemal)\
**Post date:** [June 8, 2025, 3:03am UTC](https://forum.cursor.com/t/cursor-claude-code-integration-issue/101500/3 "2025-06-08T03:03:38Z")

</div>

bro, read docs carefully  
claude code not supported yet on pwsh  
use WSL instead

---

<div class="post-metadata">

**Author:** ![ziv770](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ziv770/32/60434_2.png) [@ziv770](https://forum.cursor.com/u/ziv770)\
**Post date:** [June 8, 2025, 4:28pm UTC](https://forum.cursor.com/t/cursor-claude-code-integration-issue/101500/5 "2025-06-08T16:28:52Z")

</div>

Thanks, here is an update:  
I managed to install the claude code extension. And yet claude code does not recognize cursor as an existing IDE.  
Full details: [Cursor + Claude code: IDE is not connected - #5 by ziv770](https://forum.cursor.com/t/cursor-claude-code-ide-is-not-connected/101659/5)  
How can this be solved already?
