3.2 React Tooling

Yarn

Yarn (opens new window) 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
1

Then check the version installed with

yarn --version
1

It should be v1.22.5 or higher.

Last Updated: : 9/4/2021, 6:12:16 PM