Yarn
Before starting: Make sure you have the necessary folders and permissions — get more information.
Yarn is a JavaScript dependency manager.
Install
Install Yarn globally using NPM.
npm install --global yarn
Verify the Installation
Verify that you have successfully installed Yarn.
yarn --version
Update (if required)
Update your Yarn installation.
npm update --global yarn