How to set the http_proxy Variable in Windows7/Windows8


How to set the http_proxy Variable in Windows7/Windows8

The following information will teach you how to allow Windows7/Windows8 system to use a proxy server to download some external packages/plugins using command line.
Example: I have used this option to update composer and install packages in my recent laravel project.

Steps to set the http and https proxy variable

1.     Open the command prompt.
2.     Paste following http_proxy  and https_proxy command in cmd


{{USERNAME}}  –  Proxy Username.
{{PASSWORD}} – Proxy Password.
{{PROXY_URL}} – Proxy Url.
{{PORT_NUMBER}} – Proxy Port Number.
Now your system ready to download resource (packages/plugins) from the internet using command line.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">