Electron installation -Windows

Here say Windows.

Dependence: Node.js, NPM.js

Download: https://npm.taobao.org/mirrors/node/v12.15.0/node-v12.15.0-x64.msi

After installation configuration path.

Then enter (Bash / CMD):

$ npm install -g cnpm --registry=https://registry.npm.taobao.org

Then, enter

$ cnpm install [email protected]

 

This, Electron installation is complete.

Whether detection succeeds:

$ electron -v

It will output:

V8.0.0


Guess you like

Origin www.cnblogs.com/7086cmd/p/installelectron.html