I just installed Magento 2.1 via Composer in my local XAMPP 5.6 server.

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento2
cd magento2
composer update

The folder structure generated:


magento2/update (folder with other files, folders and index.php)

What exactly am I supposed to do next?

I tried to running in the browser and it loads the directory structure. If I run, it gives forbid access.

2 Answers 2


Make sure you have the correct permissions and run magento setup:install

For more information see the documentation


You have to run command,

For upgrade,

php bin/magento setup:upgrade

For Deployment of store,

php bin/magento setup:static-content:deploy

For Indexing

php bin/magento indexer:reindex

If cache is enable,

php bin/magento cache:clean

Remove var folder and check frontend.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.