You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorial/installation.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,17 @@ a text file. A typical cache might look like this:
97
97
├── SHASUMS256.txt-1.8.2-beta.3
98
98
```
99
99
100
+
## Skip binary download
101
+
When installing the `electron` NPM package, it automatically downloads the electron binary.
102
+
103
+
This can sometimes be unnecessary, e.g. in a CI environment, when testing another component.
104
+
105
+
To prevent the binary from being downloaded when you install all npm dependencies you can set the environment variable `ELECTRON_SKIP_BINARY_DOWNLOAD`.
106
+
E.g.:
107
+
```sh
108
+
ELECTRON_SKIP_BINARY_DOWNLOAD=1 npm install
109
+
```
110
+
100
111
## Troubleshooting
101
112
102
113
When running `npm install electron`, some users occasionally encounter
0 commit comments