Using Drush behind a proxy

Drush using cURL, or wget to download modules and do a variety of things.

To be able to use cURL behind a proxy you need to configure it through is configuration file .curlrc.

.curlrc is an hidden file existing inside your user folder.

Edit this file ~/.curlrc with a text editor (like "nano" for Terminal) and add the following information :

proxy = host[:port]

proxy-user = user[:password]

About the author

Consultant, Web strategist, and Drupal enthusiast, I use open source software to build application that connects people and spread ideas. I believe that internet can lead to powerful changes for progressive organizations, and for our future.

Keep in touch here