Magento2 install by command line

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= --db-host= --db-name=magento2 --db-user=magento --db-password=dbpassword --admin-firstname=Admin --admin-lastname=User --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 *