Close [x]

Install, remove, or update optional sample data modules

Edit this page on GitHub

Introduction to Magento sample data

Magento sample data provides a storefront based on the Luma theme outfitted with products, categories, customer registration, and so on. It functions just like a Magento storefront and you can manipulate prices, inventory, and promotional pricing rules using the Magento Admin.

You can install sample data either before or after installing the Magento software. When you鈥檙e done with the sample data, you can either remove it or you can install it fresh as discussed in Remove or update optional sample data modules.

You can install optional sample data in any of the following ways:

Installation method Description Required skill level

Using Composer

Modify Magento's root composer.json to enable sample data modules.

Requires Composer knowledge and access to the Magento file system.

Cloning repositories

Clone the Magento 2 repository and the sample data repository, create symbolic links.

For contributing developers only. Everyone else should use one of the preceding methods.