npm install electron --save-dev
Copy
npm i -D electron@latest
# Electron 15.2.0
# Node 16.5.0
# Chromium 94.0.4606.81
npm i -D electron@latest
# Electron 20.0.0
# Node 16.15.0
# Chromium 104.0.5112.65
npm i -D electron@alpha
# Electron 20.0.0-alpha.7
# Node 16.15.0
# Chromium 104.0.5073.0
npm i -D electron@beta
# Electron 20.0.0-beta.13
# Node 16.15.0
# Chromium 104.0.5112.57
npm i -D electron-nightly
# Electron 21.0.0-nightly.20220802
# Node 16.16.0
# Chromium 105.0.5187.0
npm i -D electron@latest
# Electron 17.1.0
# Node 16.13.0
# Chromium 98.0.4758.102