Cursor + Claude code: integration issue

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?

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.

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

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
How can this be solved already?