
magento/composer-root-update-plugin 1.0.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api but it does not match the constraint.īy default, the version of composer for windows is the latest version 2.0.7. If you install Magento 2.4 or 2.4.1 on Composer 2, you will probably see this error message - Root composer.json requires magento/composer-root-update-plugin ~1.0 -> satisfiable by magento/composer-root-update-plugin.

You don’t need to downgrade composer version if you are installing Magento 2.4.2

>Download Composer Windows version here: Now we will install Composer on localhost.Ĭomposer is a library management tool in PHP (Dependency Management), this tool saves us a lot of time with the necessary packages that your project needs to use, you just need to declare it, Composer will automatically download the code of the libraries through a community server. Now open XAMPP and start Apache and Mysql In Select Components step, make sure to select Mysql and PHP, PHPmyadmin. Next, run set up file and proceed with all steps to install Xampp.

In this step, we will install 2 components that are required to run Magento 2 on localhost environment XAMPP and COMPOSER (for windows) XAMPPįirst of all, we will download and install Xampp, a web server solution stack package that helps developers to create and test their applications on a local webserver.
