Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-cli

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-cli

Command line tool for developing useful electron apps

  • 0.2.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by18.18%
Maintainers
1
Weekly downloads
 
Created
Source

electron-cli

Latest NPM release npm version npm license

An electron command line utility.

Repo

Features

  • [done] Create new project
  • [done] Get useful electron info such as(version numbers of Chromium, Node.js , and electron-cli)
  • [done] Run the electron app on the current directory either with the locally installed electron or the global one
  • [done] Pack the application for distribution
  • [wip] Build native node modules

Getting Started

Note: Electron Cli requires Node 6 or above, plus git installed.

npm install -g electron-cli
electron-cli init new-app
cd new-app
electron-cli start

Installation

npm install -g electron-cli

Usage

After installation the electron CLI tool will be available to you. It is the entrypoint for all the functionality marked as done above.

Create a new project

electron-cli init my-new-app

This will create a new folder my-new-app, initialize a Git project in it and adds the basic electron quick start project.

Get Info of current installed electron

electron-cli stats

This will print the versions of the current installed electron instance

Start electron application

electron-cli start --global

This will run the electron application on the current directory, if you provide the global flag it will run the application with the globally installed electron instance.

Pack electron application

electron-cli pack

This will pack the application on the current directory with electron-packager

Keywords

FAQs

Package last updated on 02 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc