# Can't use Cursor with WSL2

**URL:** <https://forum.cursor.com/t/cant-use-cursor-with-wsl2/1402>\
**Category:** Help\
**Created:** [November 2, 2023, 3:56pm UTC](https://forum.cursor.com/t/cant-use-cursor-with-wsl2/1402 "2023-11-02T15:56:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jacob](https://forum.cursor.com/u/Jacob)\
**Post date:** [November 2, 2023, 3:56pm UTC](https://forum.cursor.com/t/cant-use-cursor-with-wsl2/1402/1 "2023-11-02T15:56:06Z")

</div>

I can’t find any tutorial to use Cursor with WSL2.

With Vscode was it just to go to a folder in WSL and then do `code .` to open the whole project.

When I do the same but with `cursor .` do I only get this:

```auto
cursor .
To use Cursor with the Windows Subsystem for Linux, please install Cursor in Windows and uninstall the Linux version in WSL. You can then use the `cursor` command in a WSL terminal just as you would in a normal command prompt.
Do you want to continue anyway? [y/N] y
To no longer see this prompt, start Cursor with the environment variable DONT_PROMPT_WSL_INSTALL defined.
/mnt/c/Users/ ***/AppData/Local/Programs/cursor/resources/app/bin/cursor: 62: /mnt/c/Users/*** /AppData/Local/Programs/cursor/resources/app/bin/../cursor: not found

```

---

<div class="post-metadata">

**Author:** ![blackearth10](https://avatars.discourse-cdn.com/v4/letter/b/c67d28/32.png) [@blackearth10](https://forum.cursor.com/u/blackearth10)\
**Post date:** [September 12, 2024, 1:12pm UTC](https://forum.cursor.com/t/cant-use-cursor-with-wsl2/1402/2 "2024-09-12T13:12:43Z")

</div>

Hey, I am getting the same error with a fresh install of version 0.40.4. Did you find a fix for this?

When I try to open with `code .` I get the following error `Unable to determine app path from symlink : /mnt/c/Users/username/AppData/Local/Programs/cursor/resources/app/bin/code`

thank you

---

<div class="post-metadata">

**Author:** ![victor-ca](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/victor-ca/32/17767_2.png) [@victor-ca](https://forum.cursor.com/u/victor-ca)\
**Post date:** [December 29, 2024, 12:06pm UTC](https://forum.cursor.com/t/cant-use-cursor-with-wsl2/1402/3 "2024-12-29T12:06:18Z")

</div>

i ended up removing .vscode and .cursor from windows in

- %USERPROFILE%
- %USERPROFILE%\AppData\Local  
and in wsl i’ve removed .cursor-server and .vscode-server.  
you’ll have to reinstall extensions but get wsl alive again 🙂

---

<div class="post-metadata">

**Author:** ![mr-stegosaurus](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mr-stegosaurus/32/18442_2.png) [@mr-stegosaurus](https://forum.cursor.com/u/mr-stegosaurus)\
**Post date:** [January 9, 2025, 11:49pm UTC](https://forum.cursor.com/t/cant-use-cursor-with-wsl2/1402/4 "2025-01-09T23:49:09Z")

</div>

Cursor has been broken for me for weeks, this finally is what fixed it for me. This should be pinned somewhere or put in an FAQ
