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=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.


3 views

Recent Posts

See All

Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2020 by Bilal Usean. Proudly created with Wix.com