Easiest & Quick to Install Magento 2

Are you use to install Magento 2 software frequently in local environment to develop/test integrations and extensions? Are you tired of installing Magento 2 software frequently and interactions required in the web installer?

Magento 2 provides command line installation tool which takes all parameters at once and installs Magento 2 software without any further intervention of user. Sounds cool! So, below is the command to install Magento 2 software quickly and easily.

php bin\magento setup:install --base-url= --db-host=YOUR_DB_HOST --db-name=YOUR_DB_NAME --db-user=YOUR_DB_USER --db-password=YOUR_DB_PASSWORD --admin-firstname=YOUR_ADMIN_FIRST_NAME --admin-lastname=YOUR_ADMIN_LAST_NAME --admin-email=YOUR_ADMIN_EMAIL --admin-user=YOUR_ADMIN_USERNAME --admin-password=YOUR_ADMIN_PASSWORD --language=en_US --currency=USD --timezone=America/Chicago --cleanup-database --sales-order-increment-prefix="ORD$" --session-save=files --use-rewrites=1 --use-sample-data

Replace the parameter values with your environment values and run the command in the directory where Magento 2 installation files reside.