

Please follow me on Twitter or subscribe to my YouTube channel if you liked this post. I hope you are as impressed by the Windows Subsystem for Linux as I am. If you have Windows 11 (Build 22000 and higher) installed, then you can also run Linux GUI apps from your Windows system. You just need to select "Enable integration with my default WSL distro" in "Settings" ➝ "Resources" ➝ "WSL Integration". Docker Desktop for Windows allows you to use Docker from your Linux distribution.

You don't have to reinstall Docker on your Linux installation. A new VS Code window will open and use your Linux terminal by default.Click in the lower left corner of your VS Code and choose "New WSL Window using Distro.".However, you can also run your code from your installed Linux environment. It works like this:īy default, VS Code on Windows uses the Command Prompt when opening a Terminal. You can also access your Windows NTFS filesystem from Linux. Here is how you can see your full Linux filesystem: When you start your Linux distribution, all of its files become available in your Windows "Network". Once the Linux installation is complete, you can run it from the Windows Start menu. Just open the "Microsoft Store" app and search for your favorite Linux version: WSL 2 allows you to install different Linux distributions (Ubuntu, Debian, Alpine Linux & others) from the Microsoft Store. Verify your installation with wsl -status.If these two conditions are met, you can proceed.

WSL 2 also requires you to activate Microsoft Hyper-V. To install the Windows Subsystem for Linux (WSL), you must have Windows 10 installed (Build 19041 and higher). With WSL 2 you no longer need Cygwin or MinGW.

The integration is so seamless and powerful, that you can even connect VS Code to it and execute code automatically in a Linux terminal. The Windows Subsystem for Linux makes it easy to run a Linux environment on Windows.
