How do you run a Protractor?

How do you run a Protractor?

Leverage npm for installing Protractor globally using npm install -g protractor. For writing a test, open any new terminal window or command line. Create a clean folder to test and configure. Then you need to run your test using protractor conf.js.