]> khamidou — GitHub mirrors - electron.git/commitdiff
Add electron-prebuilt npm instructions to README
authorMax Ogden <max@maxogden.com>
Fri, 17 Apr 2015 18:25:06 +0000 (11:25 -0700)
committerMax Ogden <max@maxogden.com>
Fri, 17 Apr 2015 18:25:06 +0000 (11:25 -0700)
README.md

index 7b582e6201cf7177e9f2727787cf2669d833f7d1..bbb4aa61e26d3bf9cbcd27ce9456db7a5dce4e3a 100644 (file)
--- 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)