I'm trying to install metronic on my computer and for this I need to have yarn installed. So I ran the command :
npm install --global yarn /Users/cbarrial/.npm-global/bin/yarn -> /Users/cbarrial/.npm-global/lib/node_modules/yarn/bin/yarn.js /Users/cbarrial/.npm-global/bin/yarnpkg -> /Users/cbarrial/.npm-global/lib/node_modules/yarn/bin/yarn.js + yarn@1.16.0 updated 1 package in 0.376s
So I guess the installation is working fine but then if I try the yarn command I'm getting this :
yarn --version -bash: yarn: command not found
I have no idea where the problem could come from, I already have the latest npm and node.js installed and working fine.