Skip to content

Commit add3b94

Browse files
committed
Use more reliable proxy setting in install doc
1 parent 7c7d48c commit add3b94

File tree

1 file changed

+29
-5
lines changed

1 file changed

+29
-5
lines changed

INSTALL.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,13 @@ If you are behind a firewall, you may need to set your proxy, for
120120
example:
121121

122122
```
123-
npm config set https-proxy http://my-proxy.example.com:80
123+
export http_proxy=http://my-proxy.example.com:80/
124+
```
125+
126+
or, in `csh`:
127+
128+
```
129+
setenv http_proxy http://my-proxy.example.com:80/
124130
```
125131

126132
Install node-oracledb from the
@@ -238,7 +244,13 @@ If you are behind a firewall, you may need to set your proxy, for
238244
example:
239245

240246
```
241-
npm config set https-proxy http://my-proxy.example.com:80
247+
export http_proxy=http://my-proxy.example.com:80/
248+
```
249+
250+
or, in `csh`:
251+
252+
```
253+
setenv http_proxy http://my-proxy.example.com:80/
242254
```
243255

244256
Install node-oracledb from the
@@ -321,7 +333,13 @@ If you are behind a firewall, you may need to set your proxy, for
321333
example:
322334

323335
```
324-
npm config set https-proxy http://my-proxy.example.com:80
336+
export http_proxy=http://my-proxy.example.com:80/
337+
```
338+
339+
or, in `csh`:
340+
341+
```
342+
setenv http_proxy http://my-proxy.example.com:80/
325343
```
326344

327345
Install node-oracledb from the
@@ -433,7 +451,13 @@ If you are behind a firewall, you may need to set your proxy, for
433451
example:
434452

435453
```
436-
npm config set https-proxy http://my-proxy.example.com:80
454+
export http_proxy=http://my-proxy.example.com:80/
455+
```
456+
457+
or, in `csh`:
458+
459+
```
460+
setenv http_proxy http://my-proxy.example.com:80/
437461
```
438462

439463
Install node-oracledb from the
@@ -570,7 +594,7 @@ If you are behind a firewall you may need to set your proxy, for
570594
example:
571595

572596
```
573-
npm config set https-proxy http://my-proxy.example.com:80
597+
set http_proxy=http://my-proxy.example.com:80/
574598
```
575599

576600
Install node-oracledb from the

0 commit comments

Comments
 (0)