Update installation instructions
This commit is contained in:
parent
0bb29e092d
commit
5d3692c16f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue