Setting Up Windows Subsystem for Linux (WSL) and Windows Terminal
1. Enable Developer Mode
Open the Settings app and click Update & Security
as seen in Figure 1.
In the left menu, click For developers
as seen in Figure 2.
Enable Developer mode as seen in Figure 3.
Accept the confirmation as seen in Figure 4.
Wait for the Developer Mode package to install as seen in Figure 5.
When Developer mode has been enabled, you should see something like Figure 6.
2. Enable Windows Subsystem for Linux
Open the Control Panel and click on Programs and Features as seen in Figure 7.
Notice that the view setting is Small icons
. If you are using the default view Category
, you can click Programs
then Turn Windows features on or off
and skip the next step.
Click on Turn Windows features on or off
as seen in Figure 8.
Scroll to the bottom and check the box for Windows Subsystem for Linux as seen in Figure 9.
Click Restart now
in the window that pops up as seen in Figure 10.
3. Install Ubuntu Linux
After your computer has restarted, open the Microsoft Store app and search for Ubuntu
. When the results appear, select the “Ubuntu” app as seen in Figure 11. Do not install one of the versioned Ubuntu apps.
Click on Install
as seen in Figure 12.
When the installation completes, click on Launch
as seen in Figure 13.
In the terminal that opens, enter a username and then a password that you will remember as seen in Figure 14.
You may close the terminal window when you are finished. You may reopen this terminal by starting the Ubuntu app, or you can go on to install the new Windows Terminal
app (recommended).
4. Install the Windows Terminal App
In the Microsoft Store, search for the Windows Terminal (Preview)
app, install it, and then launch it as seen in Figure 15.
Open a new WSL Ubuntu terminal by clicking the dropdown and selecting Ubuntu as seen in Figure 16.
You can also open other types of terminals like Powershell and the older Command Prompt.