electron install 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: electron download
$ npm i -D electron@latest
# Electron 11.2.1
# Node 12.18.3
# Chromium 87.0.4280.141
Example 4: js electron setup
npm install electron --save-devCopy