Apple Silicon
Last updated
Last updated
Available since magento-scripts 1.5.0
To prepare your system you will need to be running CMA under Rosetta 2.
Install Rosetta 2 first:
After installing rosetta, we also need to configure the terminal to run CMA under emulation.
Locate the Terminal application within the Utilities folder (Finder > Go menu > Utilities)
Select Terminal.app
and right-click on it, then choose “Duplicate”
Rename the duplicated Terminal app something obvious and distinct, like ‘Rosetta Terminal’
Now select the freshly renamed ‘Rosetta Terminal’ app and right-click and choose “Get Info” (or hit Command+i)
Check the box for “Open using Rosetta”, then close the Get Info window
Run the “Rosetta Terminal” as usual.
Now, we need to install 2 versions of : intel x86 version and arm version. To do that, open both native and rosetta terminals and run the usual install command in both of them:
Now we have 2 Brew installed, but to actually use the correct brew depending on our terminal translation enabled we need to put the following script inside your $HOME/.zshrc
file.
And after this, proceed with the usual using the Rosetta terminal.
doesn't have an arm64 version, so we are using 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 command and open the browser, it might say that this site can't be reached. If you have this problem, try running the command again, maybe with option to speed up the startup process.