Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

6 Good Reasons to Use Windows Subsystem for Linux

Use WSL to learn Linux, try distributions, run development tools, and work with Linux and Windows files on the same PC.

Table of Contents

Windows Subsystem for Linux is useful when you want to keep Windows and run Linux tools on the same computer. WSL 2 supports a Linux environment you can open from Windows Terminal, without repartitioning your drive.

1. Learn the Linux command line

On supported versions of Windows, open an administrator terminal and run wsl --install. Restart if prompted, open the installed distribution, and create its Linux user. Ubuntu is the usual default. See Microsoft’s installation guidance for requirements.

2. Try more than one distribution

Run wsl --list --online in PowerShell to see available names. Then run wsl --install -d Debian, replacing Debian with the name you want.

3. Keep Windows apps running while you use Linux

Open a WSL terminal next to a Windows editor, browser, or Office app. This is convenient when a full dual-boot setup would make you restart every time you switch tools.

4. Use Linux command-line and supported GUI apps

Use Bash and the package manager for your distribution. On a system that supports WSL’s GUI integration, you can also run supported Linux graphical applications. Check hardware or service requirements before assuming a tool will work exactly as it does on a native Linux installation.

5. Build and test in a Linux environment

For example, on Ubuntu run sudo apt update and then sudo apt install build-essential to install common compiler tools. Keep a Linux-heavy project in the Linux filesystem for better file performance. Test a release on its actual target environment before deploying.

6 Reasons You Should Try Windows Subsystem for Linux (WSL) Picture 3

6. Exchange files between Windows and Linux

WSL normally exposes the Windows C drive under /mnt/c. You can access Linux files from File Explorer through \\wsl$. Linux tools can modify Windows files you have permission to change, so use test copies or version control while learning. For more specialized storage, see how to mount a Linux filesystem with WSL 2.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.