mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add electron-prebuilt npm instructions to README
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user