Installing Extensions Via SSH

  • Applies To: All Services
  • Difficulty: Easy
  • Time Needed: 5 minutes
  • Tools Needed: SSH
  • Reading Time: 0:03 min

To install an extensions via SSH, you will run one of the following commands from the directory where Magento is installed depending on what version of Magento you are running and what version of Magento Connect you are using:

./pear install EXTENSION_KEY
./mage install http://connect20.magentocommerce.com/REPO PACKAGE_NAME

Replace EXTENSION_KEY or REPO and PACKAGE_NAME with the appropriate values.

For example, to install the Blue Skin, you would do this:

./pear install magento-core/Interface_Frontend_Default_Default_Blue

For Magento Connect 2.0, you would do this:

./mage install http://connect20.magentocommerce.com/community Interface_Frontend_Default_Default_Blue

Be sure to clear the cache out after you're done:

rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*

Please Note

If you are Magento 1.4.x or less, and you do not have the core Magento extensions installed, when you try to install an extension, Magento will download and install the core extensions first, which will upgrade your store!

To check if the core extensions are installed or not, simply login to the web-based Magento Connect page and see if anything is listed in there.

Save. Share. Submit.

Related Articles

Upgrading Magento Via SSH

How to upgrade Magento using SSH.

Hide Sidebar