Installation-Mac

Protractor is a fairly easy to set up. All you need is to have node.js installed on your system. If you don’t have node.js installed in your system, you can refer to these links for installing in your system – which might be a Mac,Windows or a Linux machine-

Once you have node.js installed, you can easily download protractor via the node package manager (npm). For a Macintosh system, you can follow these steps


npm    install    -g    protractor

Installing npm with a -g command will install the npm globally. Once you have run the protractor from npm, you can check if the protactor actually got installed by running


protractor    --version

which will output something like this image below

screen-shot-2017-03-05-at-6-47-47-pm