Update installation instructions

This commit is contained in:
Sergey Rubanov 2018-05-14 14:06:22 +03:00 committed by GitHub
parent 0bb29e092d
commit 5d3692c16f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,11 +29,11 @@ The preferred method is to install Electron as a development dependency in your
app: app:
```sh ```sh
npm install electron --save-dev --save-exact npm install electron --save-dev [--save-exact]
``` ```
The `--save-exact` flag is recommended as Electron does not follow semantic The `--save-exact` flag is recommended for Electron prior to version 2, as it does not follow semantic
versioning. For info on how to manage Electron versions in your apps, see versioning. As of version 2.0.0, Electron follows semver, so you don't need `--save-exact` flag. For info on how to manage Electron versions in your apps, see
[Electron versioning](docs/tutorial/electron-versioning.md). [Electron versioning](docs/tutorial/electron-versioning.md).
For more installation options and troubleshooting tips, see For more installation options and troubleshooting tips, see