xxxxxxxxxx
WSL Ubuntu 20.04 I get the message "/usr/bin/env: ‘bash\r’: No such file or directory"
1.sudo apt update
2.From WSL run sudo apt install nodejs npm to install node & npm
3.From PowerShell/CMD run wsl --shutdown to restart the WSL service
4.Next in WSL run which npm to confirm it's installed [output: /usr/bin/npm]