We will install it locally on our system using the following npm, the Node.js package manager command.
First, we will initialize npm with the following command:
$ npm config set registry http://registry.npmjs.org/$ npm init –yes
The output of running the preceding command is as follows:
This will create a new file called package.json. Next, we will install Mocha and add it to our list of development ...