Electron installation

npm install electron -g
Copy the code

View the installation version

electron -v
Copy the code

Electron delete

npm uninstall electron
Copy the code

Electron update

npm update electron -g
Copy the code