The preferred method is to install Protractor globally with the following command:
npm install protractor -g
Protractor will automatically download the Selenium Standalone Server and all the browser drivers.
The Selenium Standalone Server is normally needed if you want to connect to remote machine(s) and run tests against browser(s) on remote machine(s). It is often used with Selenium-Grid when you distribute your tests over multiple machines.
Execute this command to update the Selenium Standalone Server and the browser drivers:
webdriver-manager update
Ensure that you have installed the jasmine-core package locally as shown in the Setting up unit testing with Jasmine and Karma section . The tests will be written in Jasmine, but you can also use Mocha (https://mochajs.org)--another JavaScript test framework running on Node.js. In addition, a reporter implementation is required. Install jasmine-spec-reporter:
npm install jasmine-spec-reporter --save...