How to install Magento 2 quickly using CLI

How to install Magento 2 quickly using CLI

Undoubtedly, Magento 2 installation process using the wizard in the browser is quite cumbersome and time consuming, especially when we go with sample data. Over to that, we at KiwiCommerce tells you a complete new tactic to install Magento 2 within matters of minutes, and that is with the use of CLI.

Below is a couple of steps that lets you install and run Magento 2 in no time:

Uniform Resource Identifier (URI) to access the Magento Admin or omit this parameter to let Magento generate a random URI for you.

No

–language

Language code to use in the Admin and storefront.

No

–currency

Default currency to use in the storefront.

No

–timezone

Default time zone to use in the Admin and storefront.

No

–use-rewrites

1 means you use web server rewrites for generated links in the storefront and Admin.
0 disables the use of web server rewrites. This is the default.

No

Here I’ve added some option in above command which I think are required but not compulsory. The above command should be edited to your needs and executed from the Magento 2 root directory. If everything went correct, you will be informed that the installation has been completed.

Subscribe for our Newsletter

This website stores cookies on your computer. These cookies are used to improve your website and provide more personalized services to you,both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.AcceptDecline