Web Analytics

Fill the form & Get Installation Support

    Magento 2 Install / Uninstall Sample Data via Command Line

    In this tutorial, we will talk about how to Install/Uninstall Sample Data via Command Line . As you know, Magento 2 have many commands in bin/magento folder. But it may be difficult to get approach with this, so let me explain about it in more detail.

    Install / Uninstall Sample Data via command line

    Go to Magento root folder and see usages:


    Install Sample Data Syntax

    By default, it will update latest version of sample data via composer, then install it. You can disable it with parameter: --no-update

    Uninstall Sample Data Syntax

    Go to Magento root folder and see usages:




    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Author Image

      Magento Certified Developer

      Hire J. Lakum

      Get a Free Quote

        Connect With Us