I am no JavaScript dev, but I know enough that you have to install
node.js
(using Homebrew that would be brew install node
) and then yarn
is installed with npm install -g yarn
. If you are gonna write anything based on HTML/JavaScript then you need to get to grips with that stuff first.