install electron app on windows 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: electron download
$ npm i -D electron@latest
# Electron 11.2.1
# Node 12.18.3
# Chromium 87.0.4280.141