What is WSL?

by Dillon -

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?

Dillon Smart

šŸ‘‹ Hey, I'm Dillon!

Iā€™m a Full-Stack developer in the UK, building websites and applications for around 12 years, landing my first full-time job as a developer in 2015.

Feel free to reach out on Twitter!

Comment

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