After installing Electron, with the following steps we can create a Electron app from scratch.
- Create an empty folder for storing your app files.
- Open terminal/command line and run npm init from that very folder.
- npm will guide you through creating your package.json file.
- Create main.js or index.js(default) file along with index.html file.
- After creating package.json, main.js and index.html files you can try your app by running npm start from your application directory.