Answers for "all the required dependency for running wsl wsl2 in windows"

3

how to set wsl 2 as default

wsl --set-default-version 2
Posted by: Guest on March-31-2021
0

WSL2 .wslconfig Windows

# turn off all wsl instances such as docker-desktop
wsl --shutdown
notepad "$env:USERPROFILE/.wslconfig"

# .wslconfig
[wsl2]
memory=3GB   # Limits VM memory in WSL 2 up to 3GB
processors=4 # Makes the WSL 2 VM use two virtual processors
Posted by: Guest on April-01-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language