
It makes a nice arm alias for running commands with x86_64 architecture flags. usr/sbin/softwareupdate -install-rosetta -agree-to-license
HOMEBREW M1 INSTALL
Install Rosetta on the command line with the following: They don't have an ARM-compatible build ready yet, so this is where we'll need to use some Rosetta flags on the command line. Homebrewįirst, we'll need to install Homebrew. It mostly feels invisible, so (except for a few terminal commands like homebrew) you hardly even notice it is there.

I expected to have way more problems being an early adopter, but Apple has done a wonderful job with their Rosetta 2 translation layer. Unless you're using Docker, which doesn't work on the new ARM processor (yet - they're working on it). Setting up an M1 mac for PHP development is not much different than other macs. The previous article outlines first impressions from the perspective of someone upgrading from a 2013 mac. Homebrew now has an M1-compatible version, so you may be able to use that instead, but I haven't tested it yet! If you want to try it, just ignore the Rosetta stuff and take out the arm from the rest of the commands. Heads up! I wrote this when M1 Macs were new. We'll set up Homebrew, PHP, MySQL, Composer, and Laravel Valet. This article outlines how I was able to set it up for doing web development. The web moves fast! You may need to adjustĪ few things if you follow this article word for word.įriday, I received a snazzy new M1 Macbook Pro in the mail. This was written over two years ago, so some information might be outdated.įrameworks and best practices change.
