Summary
When using Claude Desktop on Windows with the embedded Claude Code feature, allow configuring it to execute shell commands inside WSL (Windows Subsystem for Linux) instead of Windows CMD/PowerShell.
Environment
- Claude Desktop Version: 1.0.1307 (1ed883) 2025-11-25
- OS: Windows 11 with WSL2 (Ubuntu)
- Claude Code: Embedded in Claude Desktop
Use Case
My entire development environment is set up in WSL:
- Python virtualenvs
- Node.js / npm
- MySQL server
- Local dev servers (PHP, Python HTTP server, etc.)
- Git configuration
- All projects stored in WSL filesystem
I want to use Claude Desktop's improved UI and longer context window, but when it executes commands, they run in Windows where none of my tools are configured.
Current Behavior
Claude Desktop with embedded Claude Code executes all bash/shell commands in Windows environment, which doesn't have access to:
- WSL-installed packages
- Linux-only tools
- My development servers running in WSL
- Proper file permissions
Expected Behavior
Option to configure Claude Desktop to:
- Execute shell commands inside a specified WSL distro (e.g., Ubuntu)
- Use WSL paths natively (e.g.,
/home/user/project instead of \\wsl$\...)
- Access WSL environment variables and tools
Similar Implementation
VS Code solves this elegantly with "Remote - WSL" extension - the UI runs on Windows but all terminal commands, extensions, and file operations happen inside WSL.
Workaround (Current)
Running Claude Code CLI directly inside WSL terminal works perfectly, but loses the benefits of Claude Desktop's UI and extended context.
Additional Context
Many developers on Windows use WSL as their primary development environment while preferring native Windows apps for UI. This integration would make Claude Desktop viable for this common workflow.
Summary
When using Claude Desktop on Windows with the embedded Claude Code feature, allow configuring it to execute shell commands inside WSL (Windows Subsystem for Linux) instead of Windows CMD/PowerShell.
Environment
Use Case
My entire development environment is set up in WSL:
I want to use Claude Desktop's improved UI and longer context window, but when it executes commands, they run in Windows where none of my tools are configured.
Current Behavior
Claude Desktop with embedded Claude Code executes all bash/shell commands in Windows environment, which doesn't have access to:
Expected Behavior
Option to configure Claude Desktop to:
/home/user/projectinstead of\\wsl$\...)Similar Implementation
VS Code solves this elegantly with "Remote - WSL" extension - the UI runs on Windows but all terminal commands, extensions, and file operations happen inside WSL.
Workaround (Current)
Running Claude Code CLI directly inside WSL terminal works perfectly, but loses the benefits of Claude Desktop's UI and extended context.
Additional Context
Many developers on Windows use WSL as their primary development environment while preferring native Windows apps for UI. This integration would make Claude Desktop viable for this common workflow.