0

Im using the new WLS2 on windows 10 home.

I noticed that, when I ran "npm", the "npm" from my Windows program files was executed instead of the Linux version.

Then i got further. I tried to execute cmd.exe or notepad.exe from WSL 2 and it works.! ..

enter image description here Why is this possible? How can I prior the Linux executables instead of Windows ones?