- GitKraken git client
- Caret Markdown Editor
- Nylas Email App
- Visual Studio Code
- Slack desktop
- WordPress desktop app
To get started with developing using the Electron, you need to have Node and npm(node package manager) installed. If you do not already have these, head over to Node setup to install node on your local system. Confirm that node and npm are installed by running the following commands in your terminal.
The above command will generate the following output −
Whenever we create a project using npm, we need to provide a package.json file, which has all the details about our project. npm makes it easy for us to set up this file. Let us set up our development project.
- Fire up your terminal/cmd, create a new folder named hello-world and open that folder using the cd command.
- Now to create the package.json file using npm, use the following command.
Then it will ask to you for some information
Just keep pressing Enter, and enter your name at the “author name” field.
Create a new folder and open it using the cd command. Now run the following command to install Electron globally.
$ npm install -g electron-prebuilt
Once it executes, you can check if Electron is installed the right way by running the following command −
$ electron –version
Then You should get the output −
Here setup is Done.Now you can move for creating first app of ELECTRON.