The website says to install Yarn 2.x:
npm install -g yarn@berry
but this does not create an executable "yarn". It simply puts a yarn.js in node_modules. To fix it, you need to copy yarn.js to a folder on your path like "/usr/local/bin/yarn" (without .js)
The website says to install Yarn 2.x:
npm install -g yarn@berrybut this does not create an executable "yarn". It simply puts a yarn.js in node_modules. To fix it, you need to copy yarn.js to a folder on your path like "/usr/local/bin/yarn" (without .js)