Magento2 install by command line

Updated: Aug 20

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.


Recent Posts

See All

Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2020 by Bilal Usean. Proudly created with