Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open in WSL TerminalNew to Visual Studio Code? Get it now.
Open in WSL Terminal

Open in WSL Terminal

tijnndev27

|
3 installs
| (0) | Free
Quickly open folders in WSL terminal from VS Code Explorer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open in WSL Terminal

Quickly open any folder in a WSL (Windows Subsystem for Linux) terminal directly from VS Code's Explorer context menu.

Features

  • Right-click to Open: Right-click on any folder in the Explorer and select "Open in WSL Terminal"
  • Smart Path Conversion: Automatically converts Windows paths to WSL-compatible paths
    • Regular Windows paths (e.g., C:\Users\...) → /mnt/c/Users/...
    • WSL network paths (e.g., \\wsl.localhost\Ubuntu\...) → /...
  • Seamless Integration: Opens a new WSL terminal with the selected folder as the working directory

Requirements

  • Windows 10/11 with WSL installed
  • WSL distribution configured (Ubuntu, Debian, etc.)
  • wsl.exe available in your system PATH

Usage

  1. In VS Code's Explorer, right-click on any folder
  2. Select "Open in WSL Terminal" from the context menu
  3. A new WSL terminal will open with the folder as the current directory

Installation

From VS Code Marketplace (Coming Soon)

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Open in WSL Terminal"
  4. Click Install

Manual Installation

  1. Download the .vsix file from the releases
  2. Open VS Code
  3. Go to Extensions (Ctrl+Shift+X)
  4. Click the "..." menu → "Install from VSIX..."
  5. Select the downloaded .vsix file

Known Issues

Currently no known issues. Please report any bugs on the GitHub Issues page.

Release Notes

0.0.1

  • Initial release
  • Added context menu command for folders
  • Support for Windows and WSL network paths

Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft