What is WSL?

By Dillon Smart · · · 0 Comments

WSL Ubuntu

In 2022, web developers have a whole host of options to run development environments on a local machine. With the initial release of WSL in 2016 and the release of WLS2 in 2019, a new environment was presented to web developers. In this post, I will help you answer the question “What is WSL?”

What is WSL?

Windows Subsystem for Linux is a GNU/Linux environment that you can run on Windows 10 and Windows 11 machines without the need to use a virtual machine or dual-boot. WSL includes most command-line tools, utilities, and applications that you’re familiar with within Linux.

Once WSL is enabled and distribution is installed from the Microsoft Store, users can access the Linux environment from the Windows Terminal.

What is WSL

The Windows file system is mounted and can be accessed via the /mnt directory.

WSL can allow developers to install technologies and services to run web servers such as Apache2 or Nginx. Learn how to install WSL with this step-by-step guide to set up PHP, MySQL, and Apache on Ubuntu within WSL.

What is WSL good for?

WSL is a great tool for developers, engineers, or anyone who wants to run Linux tools and commands on Windows. It’s also a great way to learn GNU/Linux without leaving Windows.

Conclusion

I hope you’ve found this post helpful in understanding Windows Subsystem for Linux.

Do you use WSL as your development environment?

WindowsWindows Subsystem for Linux

0 Comment

Was this helpful? Leave a comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

WSL vs Dual Boot speed test

Updated 16th August 2022

In this experiment, I will be using WSL2 running Ubuntu 20.04 and Ubuntu 20.04 dual-booted on the same Dell XPS. Is there a noticeable difference? Follow along for the results of the WSL vs Dual Boot speed test. If you are like me and use different development environments a lot, you may find the results

Start WSL2 services on Windows startup

Updated 16th August 2022

In some circumstances, you may want to automatically start your WSL2 (Windows Subsystem for Linux) services on Windows startup such as Apache2, Nginx, and MySQL. Follow along below to learn how to start your services when you boot your machine. Create a startup script The first step is to create a startup script. This is

The ULTIMATE guide to setup Windows Subsystem for Linux (WSL) with Ubuntu, Apache2, MySQL and PHP

Updated 16th August 2022

Windows is now good for development! Yes! All thanks to Windows Subsystem for Linux (WSL). No more WAMP or Xampp, WSL can do everything you need. In this ultimate guide to setup Windows Subsystem for Linux with Ubuntu, Apache2, MySQL, and PHP we will cover: What is Windows Subsystem for Linux? Setting up Windows Subsystem