Magento 2 install extension is not a difficult task, but it can be challenging for you if you are new with Magento 2. There are different ways (methods) to install a Magento 2 module, that is why we prepared these simple steps you can follow.

Method 1: Install Magento 2 Extension via the Composer

This installation method is the most recommended, but not all Magento 2 extension vendors provide a possibility to install their modules via the Composer. We also want to add that we provide composer installation for all of our Magento 2 extensions.

Composer is the package manager for the PHP, it allows you to manage dependencies of Magento 2 extensions and PHP libraries. It also facilitates the upgrade process of Magento2 & Magento2 Extensions.

To install the extension with the composer please open Magento 2 root directly in the Command Line Interface (CLI, terminal, shell) and run next commands:

composer require vendorname/module-name
# Authentication required (repo.magento.com)
# Get your Magento Marketplace authentication keys or use these:
# Username: 7c018006799466c681ad507e27904677
# Password: 289077c86e811661a8f7751828485d3a
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

vendorname/module-name is a composer package name of the extension, you can get it from the module vendor.

If you have received the message "No command 'composer' found" during the installation, please, install composer first.

Below you can check a short demo video of how you can simply install e.g. Magento 2 Blog via the composer.

 

Method 2: Install Magento 2 Extension from Archive

This is the most common method since Magento 1.x times. Please, follow the steps bellow to install the module in this way:

1. Unzip extension archive.

2. Upload "app" folder from archive over FTP or SFTP to your Magento 2 directory on the web-server.

3. Run the commands in the Magento 2 directory via CLI:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

3. Magento 2 Installation Service 

If you have an issue with Magento 2 extension installation you can always request professional Magento 2 Installation Service (use coupon code "FIVE" to get $5 OFF.).