Merge pull request #1437 from maxogden/patch-2
Add electron-prebuilt npm instructions to README
This commit is contained in:
commit
c34c5965c5
1 changed files with 11 additions and 0 deletions
11
README.md
11
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)
|
||||
|
|
Loading…
Reference in a new issue