This article describes how to use Composer to install extensions from Magento Marketplace (repo.magento.com). For other sources (e.g. Github) please check the documentation/readme of the extension.

  1. "Buy" the extension on the Magento Marketplace (even if it is free), otherwise Composer cannot access it.
  2. Log in to your server via SSH and navigate into the Magento base directory.
  3. Execute these commands:
composer require <vendor>/<extension>
php bin/magento setup:upgrade
php bin/magento cache:flush
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy <list_of_locales>


During installation, Composer might ask for a user and password. You must use the public and private key of the Magento Marketplace user which was used to purchase the extension.


The "list of locales" depends on the languages in the shop. Example: "en_US en_GB fr_FR de_DE it_IT" etc.


The command bin/magento setup:upgrade will enable the newly installed modules. This can be verified with:

php bin/magento module:status


The section "List of disabled modules" shows modules that have been explicitly disabled by the user. Those modules will not be re-enabled by bin/magento setup:upgrade and must be activated by hand if they are needed.