I will show you how to install Electron in Windows 10 in this guide.
Step 1. Install Scoop
In our previous guide, we already cover how to install Scoop in Windows 10. Please refer to this guide before next step.
Step 2. Install Node.js
Open command prompt and type following command.
Verify Node.js installation.
Step 3. Install Electron
npm install -g electron
Verify Electron installation.
Step 4. Running your first Electron App
# Install git scoop install git# Clone Quick Start projectgit clone https://github.com/electron/electron-quick-start# Navigate to project foldercd electron-quick-start# Install the dependencies and runnpm installnpm start
Congratulations! You have your first Electron App running in minutes.
Originally posted 2019-08-30 23:37:00.