
Now enter Empty database that you created previously, where you want to install Magento2.Now Magento 2 will check your environment for readiness for the setup.Enter your Magento 2 url in browser and hit Enter.Create an empty database with correct permissions in phpmyadmin.After fetching all the dependencies, it will generate autoload files and you are ready to install Magento 2 on localhost.After generating the token, copy the token and paste it into command prompt and press enter.Then, go to your GIT profile settings and generate an access token there. You may be asked to provide GIT token, if you have not setup the GIT access information in the composer.This will fetch all the dependencies to install Magento 2 on your localhost.



It is a tool for dependency management in PHP. Composer enables us to manage the Magento system, extensions, and their dependencies. We now use composer to install the Magento software.Install XAMPP, Here we have used XAMPP version : 5.6.8.0 VC 11.Įxtract the content of Magento 2 to htdocs folder of your XAMPP. Now these are the step by step process for Installation. Magento 2 can be downloaded from this link Magento2. XAMPP server installed in your computerĢ. It allows us to declare the libraries for the project, depends on it will manage (install & update of the project).īefore you start installing you need the following:ġ. Installing Magento2 on XAMPP could be pretty painful for the developers, as Magento2 requires a lot of server configurations as well as composer setup which are not set by default.įor those who are wondering, why a composer? Well, it enables us to manage the Magento system, extensions, and their dependencies.
