Skip to content

Setting Your System Variables

andy.rothwell edited this page Apr 4, 2019 · 7 revisions

If you are on the City of Philadelphia network, installations you do using the command line will probably not work automatically, and you may get network or proxy errors. You should add these 2 lines to your computer's System Variables in your Environmental Variables:

http_proxy=http://proxy.phila.gov:8080
https_proxy=http://proxy.phila.gov:8080

The easiest way to do that is to download and use Rapid Environmental Editor.

Note: if you've already been getting errors, and then you add those to your System Variables, you have to restart your command line tool after adding the variables - the currently running command prompt will not know about the new additions to System Variables.

Also note: if you go off the city network and use wifi, you have to remove those lines from your System Variables, or you will get network errors again in your command prompt.

TBD: are these commands required?:

npm config set proxy http://proxy.phila.gov:8080
npm config set https-proxy http://proxy.phila.gov:8080

They can't hurt, but I do not know if this process works without them.

Clone this wiki locally