Apple Silicon
Available since magento-scripts 1.5.0
Installation on Apple Silicon powered Macs is the same as on Intel-powered ones. You just need to install Rosetta 2 first:
1
softwareupdate --install-rosetta
Copied!
After installing rosetta, we also need to configure the terminal to run CMA under emulation.
  1. 1.
    Locate the Terminal application within the Utilities folder (Finder > Go menu > Utilities)
  2. 2.
    Select Terminal.app and right-click on it, then choose “Duplicate”
  3. 3.
    Rename the duplicated Terminal app something obvious and distinct, like ‘Rosetta Terminal’
  4. 4.
    Now select the freshly renamed ‘Rosetta Terminal’ app and right-click and choose “Get Info” (or hit Command+i)
  5. 5.
    Check the box for “Open using Rosetta”, then close the Get Info window
  6. 6.
    Run the “Rosetta Terminal” as usual.
And after this, proceed with the usual MacOS installation.

Changes with setup and expected issues

  • MySQL container image doesn't have an arm64 version, so we are using MariaDB instead. MariaDB is a fork of MySQL so almost all of the features should work as expected.
  • Sometimes containers might have a problem with connecting to the host network, so after you run the start command and open the browser, it might say that this site can't be reached. If you have this problem, try running the start command again, maybe with option -s to speed up the startup process.
Last modified 5mo ago