Skip to content

WSL

WSL stands for Windows Subsystem for Linux. It installs a Linux distribution within your Windows machine so you can keep using Windows and experience the joys of a UNIX environment (with reduced performance)!

WSL is awesome. Install it by running the following in Powershell:

Terminal window
wsl.exe --install

View your distributions with

Terminal window
wsl --list --verbose

Unregister a distribution using

Terminal window
wsl --unregister distribution

Update the current distribution with

Terminal window
wsl --update

Install C/C++ essentials with

Terminal window
sudo apt install gcc
sudo apt install g++
sudo apt install make

Install the WSL extension in VSCode for better IDE support.

Open code in VSCode using

code .