3.2 React Tooling
Yarn
Yarn is an alternative to using npm as your package manager. It was created by the same team that created React, and sometimes works more smoothly with tools like create-react-app.
# Install Yarn with NPM
You can use npm to install yarn — ironic I know 🤷♂
sudo npm i -g yarn
Then check the version installed with
yarn --version
It should be v1.22.5 or higher.