Skip to content

[FEATURE]:Add option to run OpenCode Windows desktop inside WSL #32197

@Zanepin

Description

@Zanepin

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

Feature Request

I hope the OpenCode Windows desktop app can provide a setting to run directly inside a WSL environment instead of running in Windows PowerShell by default.

Why this is useful

Many developers on Windows use WSL as their main development environment. Projects, tools, shells, package managers, and configuration files are often all inside WSL.

If OpenCode can be configured to run in WSL directly, it would make the Windows desktop app much easier to use for WSL-based workflows.

Expected behavior

Add a setting in the Windows desktop app that allows users to choose WSL as the runtime environment.

For example:

  • Run commands inside the selected WSL distribution
  • Use the WSL filesystem and shell environment
  • Avoid defaulting to Windows PowerShell when the project is mainly used in WSL

This would improve the experience for Windows users who primarily develop in WSL.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions