IntelliJ IDEA
 
Get IntelliJ IDEA

WSL

Last modified: 24 October 2024

WSL (WSL 2) – Windows Subsystem for Linux – is a compatibility layer for running Linux binary executables natively on Windows 10 and later. Currently, it supports several Linux distributions, such as Ubuntu, OpenSUSE, and SLES.

IntelliJ IDEA lets you create and open projects in the WSL file system, run, and debug applications in the WSL environment. You can also use local Windows-based projects and run the applications remotely in WSL with the run targets feature.

You can create a project and store it in the WSL environment, open one from the WSL file system, and develop your projects further in WSL.

When you run code in your project, it is run in WSL. If you open the run configuration, note that IntelliJ IDEA refers to WSL as local machine.

Run configuration

The results of the code execution are displayed in the Run tool window.