Site icon MageComp Blog

How to Install Magento 2.4 via Command Line

How to Install Magento 2.4 via Command Line

Hello Magento Folks,

Magento community is always uniform and never misses to upgrade and ameliorate Magento with every new version.

Quick Intro:

Magento 2.4 is officially released. The latest Magento 2.4 version was released on July 28, 2020. MageComp team took out the right time to install Magento 2 latest version and dug out what’s new updates provided by Magento. Are you all eager to check out the Magento 2.4 update then here is the step-by-step guide to install Magento 2.4 via command line and can look into Magento 2.4?

Install Magento 2.4 via command line and benefit from the enhanced features of the latest Magento 2.4 version such as:

I think now we can’t wait to install Magento 2.4. Are you aroused to install Magento 2.4 then follow the below steps:

To install Magento 2.4 via command line there is one command-line interface that carries out the installation as well as configuration tasks: <magento_root>/bin/magento

Ensure you fulfill all the system requirements to install Magento 2.4 via command line Before you begin Magento 2 installation action.

Steps to Install Magento 2.4 via Command Line:

Run the below command in the command line:

php bin/magento setup:install --base-url="http://127.0.0.1/m240/" --db-host="localhost" --db-name="m240" --db-user="root" --db-password="root@123" --admin-firstname="admin" --admin-lastname="admin" --admin-email="admin@admin.com" --admin-user="admin" --admin-password="admin@123" --language="en_US" --currency="USD" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin"

That’s how you install Magento 2.4 via the command line.

Conclusion:

Hence, by implementing the above steps you will be able to install Magento 2.4 via command line successfully. Upgrade your Magento 2 with the help of Magento Upgrade Service and avail  store While you install Magento 2.4 via the command line and come across the issues then feel free to comment down in the comment section below I will solve it for you. 

Don’t forget to share the article with your Magento Friends.

Happy Reading.

Exit mobile version