
Open the Ubuntu app that you just installed, and you'll be greeted with a Linux terminal! Try running some commands: What if I want to access my Windows files? These are the available distributions as of now:Īfter this, you'll find an app called Ubuntu (or any other distro) in your start menu: Open the Linux Terminal This will download the Linux kernel, set WSL 2 as the default, and install Ubuntu as the default distribution.ĭon't want ubuntu? Here is the command for you: wsl -install -d

The command to run WSL is straightforward: wsl -install This article will cover what you can do on both Windows 10 and 11 How to Install WSL WSL is also available on Windows 10, but it is way more efficient on Windows 11 based on my experience.įor Windows 10, you'll need to have build 21364 or higher. To have WSL running effectively, I suggest you upgrade to Windows 11. And I love how I can use Linux commands in Windows in a straightforward way without the added complexity of installing a virtual machine or dual booting.īy the end of this article, you should be able to run Linux commands right from Windows like this: example of linux commands on windows Prerequisites


I've been using Windows Subsystem for Linux (WSL) for my OS class for quite a while now.
