Downloading Magento Connect Extensions for Manual Install

Did you know you can easily download plugins from Magento Connect without using the (terrifying) Magento Connect Downloader?

Well yes, you can! Magento has a bash script named “pear” that will allow you to interact with Magento’s Pear repositories. The script is found in your Magento base dir. For this post I’ll assume your base magento install directory is “magento/”

Quick Guide:

$ cd magento/
$ chmod u+x pear
$ ./pear download [Connect 1.0 Key]

If you get an error stating something like ‘unknown channel “magento-community”‘ then your Magento Pear settings are not properly initialized. Run the following commands:

$ chmod -R 777 lib/pear
$ ./mage-setup  ## this may result in a metric buttload of PHP warnings if you're running PHP 5.3.

Now try your download again.

Mike Walker

Mike is a full-stack web developer with 15 years experience. I focus on PHP & Javascript development, and work with platforms like Shopify Plus and WooCommerce eCommerce. The Agency Developer is a weekly curated newsletter with a mission to inform and educate developers working with digital agencies.

Leave a Reply

Close Menu