I install docker on my windows 10. after that I get a message that I need to download and install wsl2
.
Now, when I run bash
command I get wsl bash
.
When I try to run node
I get an error (node.exe is installed in my windows10):
DESKTOP-BVRDS:/tmp/docker-desktop-root/mnt/host/c/Users/myuser# node
bash: node: command not found
when I run echo $PATH
I get output of:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
and not the windows path's. (where the node and other software installed).
How to solve this error? maybe change the default bash? to git bash? (which I don't know how)