Javatpoint Logo
Javatpoint Logo

How to install Magento on MacOS.


Magento is an open source e-commerce platform developed by Varien Inc. It was completely written in PHP and was released on March, 31st 2008. It was acquired by e-bay which released Magento2 on November 17, 2015. In this tutorial, we will install Magento on MacOS.


  1. MacOS
  2. Login as an administrator on terminal
  3. PHP Extension dom.
  4. PHP Extension Curl.
  5. PHP Extension mcrypt.
  6. PHP Extension simplexml.
  7. PHP Extension spl.
  8. PHP Extension xsl.
  9. PHP Extension intl.
  10. PHP Extension mbstring.
  11. PHP Extension ctype.
  12. PHP Extension hash.
  13. PHP Extension openssl.
  14. PHP Extension zip.
  15. PHP Extension xmlwriter.
  16. PHP Extension gd.
  17. PHP Extension iconv.


Installation includes following steps.

1. Download and Extract the file

In order to install Magento on MacOS, we need to first download the file by visiting its official website the file into /Library/WebServer/Documents and run the following command.

2. Start the development server

Navigate to the directory in which Magento is extracted and run the following command to start the PHP development server.

How to install Magento on MacOS

3. Access on browser

We just need to type localhost:8080in the browser's search bar to access Magento on browser and we will get a browser screen appeared like following.

How to install Magento on MacOS

Click on Agree and setup Magento to navigate to the next step.

How to install Magento on MacOS

Click on Start Readiness check and the system will start checking for the requirement fulfilment.

How to install Magento on MacOS

This step prompts us to fill our database details. For this purpose, we need to create a MySQL database by running following command.

Where root is the username and 123 is the password. We can now create the database by typing the following command on MySQL shell.

Now we can fill the database details as follows.

How to install Magento on MacOS
How to install Magento on MacOS
How to install Magento on MacOS
How to install Magento on MacOS
How to install Magento on MacOS
How to install Magento on MacOS

Hence, now we got magneto installed on our MacOS. Use username and password to login to the website.

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA