How to Install Magento 2 Extension?



Suppose you have any extension and you want to install it in the Magento 2 it is very simple and you can install the extension just by following the Steps given below :

Step 1. Just put the extension files under the app/code folder and the folder structure would be app/code/extension_name.

Step 2. Now Clear all the cache from the SSH by using the command below:

sudo rm -rf var/di/* var/generation/* var/cache/* var/page_cache/*  var/view_preprocessed/* var/composer_home/cache/*

Step 3. After this execute the upgrade command below:

sudo php bin/magento setup:upgrade

upgrade magento 2

Step 4. Now provide the 777 permission to the var and pub folders as the command given below

sudo chmod 777 var* -R
sudo chmod 777 pub* -R

permission-5

Step 5. Now Deploy the magento 2 code by using the command below:

sudo php bin/magento setup:static-content:deploy

deploy-1

Step 6. Now again provide the 777 permission to the var and pub folders

sudo chmod 777 var* -R
sudo chmod 777 pub* -R

Step 7. Now Check the file config.php in the app/etc/config.php and you will see your extension will be listed here just like as the image given below:
ExtensionListing-3

Step 8. Also you can check is the extension installed or not, check the setup_module table and your extension will be listed here in this table
ListinginDB-4

Step 9. Check the admin and you will see that the extension is installed successfully.

Want to know How to install Extension in Magento??

Stay tuned for the Magento 2 latest tutorial and updates, Hope you enjoyed reading, if you need the professional Magento Development we can help you, just Click on the Link and send me your requirements.

Please Like the Post on Facebook or Google+.