https://github.com/electron/electron/blob/master/docs/tutorial/installation.md
https://www.electronjs.org/docs/tutorial/installation
npm install -g cnpm --registry=https://registry.npm.taobao.org
sudo cnpm install electron -g
sudo npm install electron -g --verbose --unsafe-perm=true
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
source ~/.profile
npm install electron -g --unsafe-perm=true
/opt/electron-v9.2.0-linux-x64/electron
export PATH="$PATH:/opt/electron-v9.2.0-linux-x64/"
source /etc/profile