best way to install yarn mac code example
Example 1: macos install yarn
brew install yarn
Example 2: yarn for mac
curl -o- -L https://yarnpkg.com/install.sh | bash
brew install yarn
curl -o- -L https://yarnpkg.com/install.sh | bash