Step-by-step Tutorial of Electron (Atom Shell), part I

  • Apr 27

I am quite new to Electron and cannot find a good tutorial for very beginner like me. So I decide to try and see how it works. My platform is Linux Mint.

First install the electron as suggested:

$ sudo npm install electron-prebuilt -g

It will install electron-v0.25.1-linux-x64.zip.

Then you can have a minimal hello_world example from this gist

$ git clone https://gist.github.com/427fe11ad6beb8b276fb.git helloworld
$ cd helloworld
$ electron .

Then a simple application starts !! It provides many built-in functions, even the developer tools. (Alt-Command-I).