Mac OS 10.13.6
How did I install yarn
npm install --global yarn
yarn installation path is /Users/useName/.config/yarn
Then ran below command
yarn create react-app app-name
This worked well, but when I'm trying to run yarn add package_name
, it's throwing error
bash: yarn: command not found
The weird thing, after closing and opening terminal again under which I had globally ( ? ) installed yarn, the yarn command is not found.