Skip to content

Commit f41cd75

Browse files
authored
Document information about proxy settings on cypress install (cypress-io#4089)
1 parent 955682f commit f41cd75

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/guides/getting-started/installing-cypress.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ The version of the `npm` package determines the version of the binary
9898
downloaded. As of version `3.0`, the binary is downloaded to a global cache
9999
directory to be used across projects.
100100

101+
System proxy properties `http_proxy`, `https_proxy` and `no_proxy` are respected
102+
for the download of the Cypress binary. You can also use the npm properties
103+
`npm_config_proxy` and `npm_config_https_proxy`. Those have lower priority, so
104+
they will only be used if the system properties are being resolved to not use a
105+
proxy.
106+
101107
</Alert>
102108

103109
<Alert type="success">
@@ -124,6 +130,9 @@ cd /your/project/path
124130
yarn add cypress --dev
125131
```
126132

133+
System proxy properties `http_proxy`, `https_proxy` and `no_proxy` are respected
134+
for the download of the Cypress binary.
135+
127136
### <Icon name="download"></Icon> Direct download
128137

129138
If you're not using Node or `npm` in your project or you want to try Cypress out

0 commit comments

Comments
 (0)