CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

WSL2

Last modified: 16 January 2023

Local client OS: Windows

Remote host OS: WSL Linux distributions

Sources location: local machine

Project model: CMake/Makefile/Compilation database

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

With WSL toolchain set up for your project, you can build using a toolchain from Linux, and run/debug on WSL, without leaving CLion running on your Windows machine.