Dependencies
To install electron you must first install Node.js, which comes with npm.
How to install it?
Use npm:
# Install the `electron` command globally in your $PATH
npm install electron -g
# OR
# Install as a development dependency
npm install electron --save-dev