Magento 2 Amasty extensions installation

Amasty extension packages include all necessary files, setup guides, and a license agreement, with some even offering example import files to simplify the process.

Important: Since January 14, 2025, all Amasty extensions will only be available for installation via Composer. Direct downloads from a customer account will no longer be supported.

How does Composer work with Amasty extensions?

Composer is a widely used and trusted tool in the Magento community, offering benefits like faster installation, simplified dependency management, and reduced errors during setup. By moving exclusively to Composer, we aim to improve your experience and ensure compliance with our licensing terms.

To install Amasty extensions, you need to add the Amasty repository to Composer, using this command:

composer config repositories.amasty composer <path>

Where <path> refers to the repository for your specific Magento edition:

 

How do I get access keys? and Composer names?

Since the Amasty repository is private, you must generate access keys to authenticate your Composer installation.

Note: The list of the purchased extensions and their composer names are available at the Customer account at Amasty.com → Account → Products. Composer names of extensions can be found at the Composer packages section

To generate your keys:

  1. Log in to your Amasty Customer Account → Account → License Registration → click View for the required project (where the specific licenses are assigned).
  2. Save your Public Key and Private Key for Composer use.

To configure your Composer to authenticate automatically, run the following command (replace with your actual keys):

composer config --auth http-basic.composer.amasty.com $COMPOSER_AMASTY_USERNAME $COMPOSER_AMASTY_PASSWORD

Where

$COMPOSER_AMASTY_USERNAME is the Public Key and $COMPOSER_AMASTY_PASSWORDis the Private Key.

 

How do I install Amasty extensions using Composer?

1. To install a module, run:

composer require amasty/module-name

2. If you need to install a specific version:

composer require amasty/module-name:1.2.3

3. You can install multiple extensions at once by listing them:

composer require amasty/module-name-a amasty/module-name-b

4. After installation, activate the extension:

php bin/magento setup:upgrade

5. In Production Mode, run these additional commands:

php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy (your locale)

For more details, please refer to our installation guide.

Still have doubts? Let us install your modules and solve your how to install module in Magento 2 problem, 10K+ successful installations, 1 service for the whole order. If you need to set up Amatsy’s extensions after or together with the installation, hire our experts.

Looking to install Magento 1 extensions? Click the link.

According to the statistics, you may find helpfull the following question about less compilation modes

How can we help you?

Didn’t you find the answer to your question? We are always happy to help you out.