install windows subsystem for linux in windows 10 code example
Example 1: windows subsystem for linux
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Example 2: windows subsystem for linux
wsl --set-default-version 2