From: Max Ogden Date: Fri, 17 Apr 2015 18:25:06 +0000 (-0700) Subject: Add electron-prebuilt npm instructions to README X-Git-Tag: v0.25.0~9^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3971249868180511f2e69749d4ae3239875f7bb4;p=electron.git Add electron-prebuilt npm instructions to README --- diff --git a/README.md b/README.md index 7b582e62..bbb4aa61 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)