Skip to content

Commit 7d82909

Browse files
committed
docs: update README.md
1 parent c99ab14 commit 7d82909

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ no-proxy=localhost,.mycompany.com,192.168.6.254:80
118118

119119
This configuration is shared with npm itself since this proxy configuration is used to download the packages from npm.
120120

121+
Proxies can be passed as env variables or as npm config options. The highest precedence have the `GLOBAL_AGENT_*` env variables before the regular env variables followed by the npm configuration options, e.g.:
122+
123+
1. env: `GLOBAL_AGENT_HTTP_PROXY`
124+
2. env: `HTTP_PROXY`
125+
3. npm: `http-proxy`
126+
4. npm: `proxy`
127+
121128
## How to obtain support
122129

123130
Please use the GitHub bug tracking system to post questions, bug reports or to create pull requests.

0 commit comments

Comments
 (0)