yarn js install code example
Example 1: macos install yarn
brew install yarn
Example 2: linux install yarn
curl -o- -L https://yarnpkg.com/install.sh | bash
brew install yarn
curl -o- -L https://yarnpkg.com/install.sh | bash