how to setup wsl 2 code example
Example 1: how to set wsl 2 as default
wsl --set-default-version 2
Example 2: wsl2 settings
[wsl2]
# https://docs.microsoft.com/en-us/windows/wsl/wsl-config (Docs)
# https://github.com/microsoft/WSL/issues/4166 (Topic)
memory=4GB
swap=16GB
localhostForwarding=true