How do I install a Magento extension via command line?

The process of installing a Magento extension via command line is quite easy and can be accomplished quickly. However, you must ensure that you have access to your server via SSH (Secure Shell Access). Please follow the step-by-step directions outlined below:

  • Login to your cPanel web hosting account via SSH
  • Next, you’ll need to run the following command:
    • # ./pear Magento-extension-key-here
  • Please adjust the outlined items in BOLD to their real values
  • One such example can be seen below:
    • ./pear install magento-community/magento_classic_blog
      downloading magento_classic_blog- ...
      Starting to download magento_classic_blog- (9,324,987 bytes) .......................done: 9,324,987 bytes
      install ok: channel://

Should you have any additional questions pertaining to Magento hosting, please feel free to get in contact with ourĀ web hosting support team for additional assistance and guidance.