install electron npm code example
Example 1: electron setup cmd
1) Make sure node.js is installed on your machine
2) CD into your directory
3) Crete a json package using the following command:
npm init
4) Install the electron module using the following command:
npm install --save-dev electron
Example 2: install electron
npm install electron --save-dev
Copy
Example 3: js electron setup
npm install electron --save-devCopy