How to Install Magento Open Source on Windows 10

Magento Open Source is a powerful e-commerce platform. In this tutorial, we will guide you on how to install Magento Open Source on Windows 10 by using XAMPP.

Prerequisites

Before you start the installation process, make sure that you have the following software installed on your system:

Step 1. Download Magento Open Source

The first step is to download the latest version of Magento Open Source from the GitHub repository.

  1. Open your browser and go to https://github.com/magento/magento2.
  2. Click the "Code" button and select "Download ZIP".
  3. Save the file to a folder on your computer.

Step 2. Install XAMPP

XAMPP is a cross-platform web server solution stack that includes Apache, MySQL, PHP, and Perl.

  1. Download XAMPP from https://www.apachefriends.org/download.html.
  2. Install XAMPP with the default settings.

Step 3. Install Composer

Composer is used to manage Magento Open Source's dependencies.

  1. Open your browser and go to https://getcomposer.org/download/.
  2. Download the Composer-Setup.exe file.
  3. Double-click the installer and follow the instructions.

Step 4. Install Git

Git is a version control system that is used to manage Magento Open Source's source code.

  1. Download Git from https://git-scm.com/downloads.
  2. Install Git with the default settings.

Step 5. Install Magento Open Source

Now that you have installed all the prerequisites, you can start the installation process.

  1. Extract the Magento Open Source ZIP file that you downloaded earlier.
  2. Copy the extracted folder to the htdocs folder in your XAMPP installation directory. For example, if you installed XAMPP in the C:\xampp folder, copy the extracted folder to C:\xampp\htdocs.
  3. Open a command prompt window and navigate to the Magento Open Source folder.
  4. Run the following command to install Magento Open Source:
composer install
  1. After the installation process is complete, run the following command:
php bin/magento setup:install --base-url=http://localhost/magento2/ --db-host=localhost --db-name=magento --db-user=root --db-password= --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1 --backend-frontname=admin
  1. Wait for the installation process to complete.
  2. Open your browser and go to http://localhost/magento2/.
  3. If you see the Magento Open Source home page, the installation process is complete.

Conclusion

Congratulations! You have successfully installed Magento Open Source on Windows 10. You can now start customizing your e-commerce website.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!