WSL2 Setup

Trying out setting up WSL2 for Windows to try it out again as WSL2 says it has higher performance. When I tried it out before WSL (1) was slow for web projects when there were a lot of node packages.

Followed this links to do the initial setup:

https://blog.nillsf.com/index.php/2020/02/17/setting-up-wsl2-windows-terminal-and-oh-my-zsh/

Some modifications:

if test -t 1; then
exec zsh
fi

After setting up WSL2 setting up node and VSCode and installing the Remote-WSL Extension:

https://docs.microsoft.com/en-us/windows/nodejs/setup-on-wsl2

Work in Windows Subsystem for Linux with Visual Studio Code
Work in Windows Subsystem for Linux with Visual Studio Code
Get started using Git on Windows Subsystem for Linux
Learn how to set up Git for version control on the Windows Subsystem for Linux.
Get started using Docker containers with Windows Subsystem for Linux
Learn how to set up Docker containers on the Windows Subsystem for Linux.