How to install a Magento extension through the command line?

If you have SSH access to your web hosting account, you can easily install a Magento extension through the command line.

To do it, open an SSH connection to your account and enter the following command:

./pear install Magento_extension_key

In the above command line replace Magento_extension_key with the exact key for the chosen extension.

In the following example we show you how to install a classic theme extension through the command line:

./pear install magento-community/magento_classic_theme_free
downloading magento_classic_theme_free- ...
Starting to download magento_classic_theme_free- (3,687,973 bytes)
.......................done: 3,687,973 bytes
install ok: channel://

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!