From 3971249868180511f2e69749d4ae3239875f7bb4 Mon Sep 17 00:00:00 2001 From: Max Ogden Date: Fri, 17 Apr 2015 11:25:06 -0700 Subject: [PATCH] Add electron-prebuilt npm instructions to README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 7b582e6201c..bbb4aa61e26 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,17 @@ editor](https://github.com/atom/atom). Prebuilt binaries and debug symbols of Electron for Linux, Windows and Mac can be found on the [releases](https://github.com/atom/electron/releases) page. +You can also use [`npm`](https://docs.npmjs.com/) to install prebuilt electron +binaries: + +``` +# Install the `electron` command globally in your $PATH +npm install electron-prebuilt -g + +# Install as a development dependency +npm install electron-prebuilt --save-dev +``` + ### Mirrors - [China](https://npm.taobao.org/mirrors/atom-shell)