tripvast.blogg.se

Visual studio code linux on windows
Visual studio code linux on windows












You can install it with the following command:Īs you can see from the picture, the command creates a lightweight Hyper-V VM, downloads the customized Linux Kernel, and installs it into the VM. I have decided for the Ubuntu 20.04 distribution, because I’m quite familiar with it, and it is one of the most well-known ones. I ran this command on a fresh Windows Server 2022 installation, and it returns you the following available distributions to install:

visual studio code linux on windows

Windows offers you a lot of different Linux distributions that you can install for WSL. For that reason, Microsoft offers you a modified version of the Linux Kernel which is optimized for running on top of Windows. WSL runs on top of a traditional Linux Kernel that runs on a very lightweight utility Hyper-V virtual machine. With WSL – the Windows Subsystem for Linux – you can run Linux based applications directly on Windows.

#Visual studio code linux on windows how to#

In today’s blog posting I want to show you how you can install WSL on Windows Server 2022, and how to configure it for a remote access through Visual Studio Code – which runs on my Mac Book Pro/ M1/M2 Air – it doesn’t really matter. Therefore, I have tried to reproduce my research efforts directly in WSL – the Windows Subsystem for Linux, which is available on the most recent Windows builds – including Windows Server 2022. But a dedicated virtual machine for this purpose is a quite huge overhead. For that reason, I had initially built a dedicated Ubuntu virtual machine to perform my research and my experiments.

visual studio code linux on windows

Over the last few weeks and months, I have spent a lot of time researching and experimenting with Linux on a very low level – mostly directly on the C and assembly level in combination with the official source code.












Visual studio code linux on windows