I'm Trying to install Yarn on my local machine and i've run:
npm install -g yarn
After which I get the notification it has been updated however I notice that the path is different for the installation vs where the command is looking:
install path: C:\Users\Sam\AppData\Roaming\nvm\yarn -> C:\Users\Sam\AppData\Roaming\nvm\node_modules\yarn\bin\yarn.js
Command executable path: C:\Users\Sam\AppData\Roaming\nvm/node_modules/node/bin/node: line 1: This: command not found
I'm not sure if this is the reason I can't use Yarn or if its a different issue
Have you updated the node before the setup of yarn?