[FEATURE]: : Enable OpenCode Desktop to use WSL environment settings #3636

Open
opened 2026-02-16 17:40:57 -05:00 by yindo · 3 comments
Owner

Originally created by @vuhungthang on GitHub (Dec 17, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

OpenCode Desktop currently requires installation/execution via Windows PowerShell and defaults to native Windows settings. It does not recognize or follow the configuration set up within OpenCode in WSL.

Originally created by @vuhungthang on GitHub (Dec 17, 2025). Originally assigned to: @adamdotdevin on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request OpenCode Desktop currently requires installation/execution via Windows PowerShell and defaults to native Windows settings. It does not recognize or follow the configuration set up within OpenCode in WSL.
yindo added the windowsdiscussionweb labels 2026-02-16 17:40:57 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 17, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #5635: feat(desktop): Add option to run OpenCode backend via WSL on Windows

Both issues address the need for OpenCode Desktop to work with WSL environments on Windows. #5635 provides detailed implementation proposals for enabling WSL backend support in the Desktop app.

@github-actions[bot] commented on GitHub (Dec 17, 2025): This issue might be a duplicate of existing issues. Please check: - #5635: feat(desktop): Add option to run OpenCode backend via WSL on Windows Both issues address the need for OpenCode Desktop to work with WSL environments on Windows. #5635 provides detailed implementation proposals for enabling WSL backend support in the Desktop app.
Author
Owner

@saheljalal commented on GitHub (Jan 4, 2026):

VSCode and Antigravity appear to work with WSL without issues. I installed OpenCode in WSL and configured everything and then installing the desktop app for Windows none of the config was used. It would be great to have this working similar to other IDEs. That way all of the tooling (npm, bun, etc.) can work seamlessly as expected without installing additional ones.

@saheljalal commented on GitHub (Jan 4, 2026): VSCode and Antigravity appear to work with WSL without issues. I installed OpenCode in WSL and configured everything and then installing the desktop app for Windows none of the config was used. It would be great to have this working similar to other IDEs. That way all of the tooling (npm, bun, etc.) can work seamlessly as expected without installing additional ones.
Author
Owner

@souhaiebtar commented on GitHub (Jan 11, 2026):

i used

 /mnt/c/Users/tunknown/AppData/Local/OpenCode/OpenCode.exe .

in wsl 2 and it did work, the project did open in OpenCode desktop just fine
the path under windows on my pc is C:\Users\tunknown\AppData\Local\OpenCode\OpenCode.exe

OpenCode.exe is the opencode Desktop

UPDATE: after testing it can read files, it can plan but it can't update because it can't build , i think

@souhaiebtar commented on GitHub (Jan 11, 2026): i used ```BASH /mnt/c/Users/tunknown/AppData/Local/OpenCode/OpenCode.exe . ``` in wsl 2 and it did work, the project did open in OpenCode desktop just fine the path under windows on my pc is `C:\Users\tunknown\AppData\Local\OpenCode\OpenCode.exe` `OpenCode.exe` is the opencode Desktop > UPDATE: after testing it can read files, it can plan but it can't update because it can't build , i think
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3636