# "Open New Window in Worktree" produces error for WSL2 Project Paths

**URL:** <https://forum.cursor.com/t/open-new-window-in-worktree-produces-error-for-wsl2-project-paths/147333>\
**Category:** Bug Reports\
**Created:** [December 24, 2025, 11:10pm UTC](https://forum.cursor.com/t/open-new-window-in-worktree-produces-error-for-wsl2-project-paths/147333 "2025-12-24T23:10:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Madson](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/matt_madson/32/92447_2.png) [@Matt\_Madson](https://forum.cursor.com/u/Matt_Madson)\
**Post date:** [December 24, 2025, 11:10pm UTC](https://forum.cursor.com/t/open-new-window-in-worktree-produces-error-for-wsl2-project-paths/147333/1 "2025-12-24T23:10:52Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Cursor produces an error dialog that worktree “Path does not exist” when worktrees are generated for a WSL2 project and you attempt to open a worktree in a new cursor window.

### Steps to Reproduce

Given

- Cursor IDE is connected to a WSL2 filesystem workspace / project
- Project is a git repository with worktree support
- You opened a new chat, selected worktree instead of Local and selected multiple models and prompted the agent to make some changes to the project

When:

- Selecting a worktree result
- Clicking the hidden … menu to the right of the worktree branch and model name
- Clicking menu option “Open new window in worktree”

Observed Bug:

Cursor shows an error dialog that the path does not exist and the path in the error dialog is a path with windows path separators starting from home. Effectively it’s trying to open the WSL2 path as if it were a path on the host operating system.

### Expected Behavior

Cursor opens a new cursor IDE instance with the WSL2 worktree file path loaded as the workspace path

### Operating System

Windows 10/11

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.43 (system setup)  
VSCode Version: 1.105.1  
Commit: 32cfbe848b35d9eb320980195985450f244b3030  
Date: 2025-12-19T06:06:44.644Z  
Electron: 37.7.0  
Chromium: 138.0.7204.251  
Node.js: 22.20.0  
V8: 13.8.258.32-electron.0  
OS: Windows\_NT x64 10.0.26100

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [December 25, 2025, 3:11am UTC](https://forum.cursor.com/t/open-new-window-in-worktree-produces-error-for-wsl2-project-paths/147333/3 "2025-12-25T03:11:19Z")

</div>

> [@Worktrees Setup not working in WSL](https://forum.cursor.com/t/worktrees-setup-not-working-in-wsl/140001/22):
>
> Likely related

Definitely related!

Thanks for finding that thread – I suggest carrying the convo on over there!

---

<div class="post-metadata">

**Author:** ![David\_Gomes](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@David\_Gomes](https://forum.cursor.com/u/David_Gomes)\
**Post date:** [December 31, 2025, 9:33pm UTC](https://forum.cursor.com/t/open-new-window-in-worktree-produces-error-for-wsl2-project-paths/147333/4 "2025-12-31T21:33:19Z")

</div>

What is in your `.cursor/worktrees.json`?

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [January 22, 2026, 9:34pm UTC](https://forum.cursor.com/t/open-new-window-in-worktree-produces-error-for-wsl2-project-paths/147333/5 "2026-01-22T21:34:21Z")

</div>

Closed on January 22, 2026, 9:34pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
