How to Install Magento 2 on Macbook

December 13, 2021 | Author: Ashley Brown

Embracing technology and utilizing them are certainly the requirements of great importance in a digital transformation environment as you can’t be abandoned as far as adaptability and development. As you are looking for precise tutorials to install Magento 2 on MacBook, you have arrived at the perfect locations. Here is a finished aide for you on the effective establishment of Magento 2.

A large number of the instructional tutorials were either obsolete, unclear, or made presumptions on the degree of specialized information. So we’d like to share what we realized and walk you through the step-by-step cycle of installing Magento 2 and how to achieve Magento extension development on your macOS 10.15.

Steps to Install Magento 2 on MacBook

How to Install Magento 2 on Macbook

Install MAMP

MAMP is the most famous nearby web development solution for Mac OSX. It is free and incorporates Apache or Nginx, PHP or Python, Perl or Ruby.

  • Open and install MAMP Application for your Mac.
  • Open MAMP in MAMP application window.
  • setup Port apache: 80; MySQL: 3306.
  • Select Web server: You can pick Apache or Nginx. For this situation, I use Apache. Now you have as of now installed MAMP successfully on your Mac OSX.

Stage 2: Install Composer

Download Composer and install or you can utilize the following command line to install Composer

curl – sS | sudo php – – – – install dir=/usr/neighborhood/container – – filename=composer

Download Magento 2 Setup

Here we will download Magento 2.4.1 from the authority site. Click on the connection here. You can choose the rendition starting from the drop and snap on the download button.

Magento 2 development 2 Setup

Now copy the downloaded document to the htdocs folder and extract the folder within htdocs.


Install Elasticsearch for Magento 2.4.1

Elasticsearch is suggested by Magento 2.4.1. Simply click on the connection and you can download Elasticsearch in your framework. In the wake of installing it effectively, you can run the Elasticsearch in your framework.

When you tap on Open, you can look at your terminal. The code will execute. After effectively running the order, you can check localhost and port number 9200.


Web Configuration

Enter the accompanying data:

Your Store Address: http://localhost/magento2

Magento 2 development Admin Address: Enter the relative URL by which to get to the Magento Admin. e.g: secret, backend

Then, at that point, click Next

Modify Your Store

  • From the Store Default Time Zone list, click the name of your store’s time region.
  • From the Store Default Currency list, click the default money to use in your store.
  • From the Store Default Language list, click the default language to use in your store.
  • Grow Advanced Modules Configuration to alternatively empower or handicap modules before you install the Magento programming.

Note: Use Skip dependency check for individual plugins with alert. We advise against this because a regular justification for this blunder is you physically altered the sending arrangement. Altering the organization setup isn’t suggested because future Magento 2 development updates can fix your changes.

Now Test the working of your Magento site



In administrator board login, you want to put your qualifications and you are currently good to go to feel free to work.

To incapacitate Two Factor Authentication, then, at that point, run the underneath order in the terminal within the undertaking.

php bin/Magento module:disable Magento_TwoFactorAuth

Last Thoughts

As a professional Magento 2 support agency,  Agento Support accompanies long periods of skill to help you in running your eCommerce store while working on an advanced presence. Our experienced engineers and group of specialists are only a summon to assist you with an excursion with your eCommerce needs. Hire Magento Developers to streamline your site for elite execution.

Frequently Asked Questions

 Q. Would I be able to install Magento on Mac?

Indeed, you can install Magento 2 on your MacBook !! Before installing Magento 2 – you need to install its pre-essential programming and arrangements. like – you need to install PHP, Apache 2, writer, Mysql for data set !!

 Q. How do you install Magento step-by-step?

  • Prepare Your Server. Go to the top. Before you can install Magento, you’ll need a webserver to install it on.
  • Download Magento.
  • Make a Database on Your Host.
  • Transfer and Unpack Magento.
  • Set Up Magento.
  • install and Finish.