We can install Magento 2 by using below Magento command. This is my favorite way of installation because it throws an error if any and we can check the progress.

bin/magento setup:install --base-url=http://local.ce231.com/ --db-host=127.0.0.1 --db-name=magento2 --db-user=magento --db-password=dbpassword --admin-firstname=Admin --admin-lastname=User --admin-email=your@mail.com --admin-user=username --admin-password=yourpassword --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1

If you installed successfully, you can see the below success message.

About Bilal

I'm a software programmer, I handle Magento2 modifications at any level.

View all posts by Bilal →

Leave a Reply

Your email address will not be published. Required fields are marked *