Yarn (optional)

Yarn (https://yarnpkg.com/en) is another package manager similar to npm. Yarn has its own share of advantages of npm (https://www.sitepoint.com/yarn-vs-npm/). If you are comfortable with Yarn over npm, you can use that too. You can install Yarn using npm as shown in the following command:

$ npm install -g yarn

Once Yarn has been successfully installed, we can verify the same by running the following:

$ yarn -v                        
1.5.1

We are using Yarn version 1.5.1 for working with our application.