Productivity

Create WSL2 Linux virtual machine(s) on Windows 10 and use it as a development environment

I started using WSL2 on Windows about 1,2 years ago. In the era of WSL1, I did not use WSL because it was not a complete Linux, and WSL2 is very good. It is the most native Linux virtual machine on Windows. It can let you Experience the authentic Linux system. And because of its very good performance, it can run smoothly even on an ultrabook laptop, and it can be used as a development environment. Just think about it, you no longer need to start a heavy VMware virtual machine as your development environment, and WSL2 and the Windows system itself also have some integration, for example: In the WSL2 virtual machine, `/mnt/c` is the **C drive** in your Windows system. I am writing this article now so that I can deploy WSL2 more orderly in the future.