General Magento Support - M2 - How to Install a Magento 2 Extension

How to Install a Magento 2 Extension

Back to User Guide

This video explains how to install a Magento 2 extension. It uses CM Marketplace as an example. 

The installation process for Magento 2 is similar for all extensions. However, there are changes related to the extension name. These moments are marked in blue below.

Note that there is no need to activate the license key for CreativeMinds' Magento 2 Extensions.

Video Version


  1. Downloading the File
  2. Preparing the File Structure
  3. Installing the Extension
  4. Checking if it's Enabled
  5. Flushing the Magento Cache
  6. Extension's Settings

1) Downloading the File

Download and unpack the archived package for the extension, after obtaining it from either the Confirmation Email or from the User Dashboard on  http://www.cminds.com.

Unpack this file before the next step.

2) Preparing the File Structure

Make sure the path app/code/Cminds exists, as shown below. If it doesn't, create the necessary folders.

Then, inside "Cminds" you should create a folder with the name of the extension (marked in gray below). Paste the files you unpacked in the last step there.

The name of the folder depends on the extension. You can find the exact name in the  installation guide of each extension.

In Magento 2, extension files are placed in one module folder so there is no need to copy files to different directories like it used to be in Magento 1.

3) Installing the Extension

Open the console and type the following commands: 

  1. php bin/magento module:enable Cminds_ExtensionName
    Change "ExtensionName" in Cminds_ExtensionName for the name of the extension. You can find the exact name in the installation guide of each extension.
  2. php bin/magento setup:upgrade
  3. For Magento 2.0.x, 2.1.x:
    rm -rf var/di
    rm -rf var/generation
    For Magento 2.2.x:
    rm -rf generated/*
  4. php bin/magento setup:di:compile
  5. rm -rf pub/static/*
  6. php bin/magento setup:static-content:deploy
    In Magento 2.2.x, depending of the mode in which Magento is running, it may be necessary to add a "-f" flag to the end of the above command.
  7. chmod -R 777 pub/static
  8. For Magento 2.0.x, 2.1.x:
    chmod -R 777 var
    For Magento 2.2.x:
    chmod -R 777 generated
    chmod -R 777 var

4) Checking if the Extension is Enabled

To check the list of enabled modules, you can either:

  • Run the command "php bin/magento module:status" in the console command.
  • Or check manually in "app/etc/config.php" file.

5) Flushing the Magento Cache

The last thing that you need to do is to flush Magento cache. You can do this in two ways:

  • Running in console command the command 'php bin/magento cache:clean':
  • php bin/magento cache:clean
  • In the Admin Panel, heading to System → Cache Management, then selecting all elements and clicking 'Flush Magento Cache'.
  • 2016-03-29_1036.png

6) Extension's Settings

Some extensions can be enable or disabled from their settings menu as well. They are set Enabled by default.

You can check this status in the following path:

Admin Panel → Stores → Configuration → Extension name → Configuration → General

For more specific instructions, please check the installation guide of each extension.  Head to the Magento guides.

Get more information about our Magento products at the CreativeMinds Magento Store.

Let us know how we can Improve this Product Documentation Page.

To open a Support Ticket visit our support center.