WSL (Windows Subsystem for Linux)
What is WSL?
See Docs
Windows Subsystem for Linux (WSL) lets developers run a GNU/Linux environment.
How to install WSL?
See Install WSL
Prerequisites
- Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11.
Install Steps
-
Install WSL command
wsl --install
This command will enable the required optional components, download the latest Linux kernel, set WSL 2 as your default, and install a Linux distribution for you.
-
Restart your computer after the installation is complete.
-
The next time you log in, it would prompt a window for installing ubuntu by default.
- You can check Change the default Linux distribution installed if you want to use another Linux distribution.
-
Set up your Linux user info
-
Installation is successful
How to set up other development environments?
You can check Best practices for set up. It shows the steps for setting up common tools like
, etc.