Install an extension using Composer

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

Before you can install any extension in Magento 2 you need to create a Magento Marketplace account. Then you can access you keys under the Access Keys section.

Once you have your Magento Marketplace keys ready, proceed to install the extension:

$ sudo composer require mailchimp/mc-magento2

The system will ask you for your Marketplace keys and proceed to download the extension.

Once this process is complete, update your modules as shown below:

$ bin/magento-cli setup:upgrade

Some specific extensions may require some additional steps, so it is always recommended to carefully check the installation instructions of the extension.

Last modification September 3, 2018