DEV Community

Discussion on: The M1 Mac - Is it worth it for devs?

Collapse
 
leob profile image
leob

You're talking about Docker and node.js but what about all the other stuff, things that you'd typically install with a brew install command - php, ruby, python, mysql, nginx, apache and so on, and so on ... has stuff like that been "ported" to ARM, as in, do you know if binary "brew bottles" are already available for that kind of software?

Thread Thread
 
alexandrudanpop profile image
Alexandru-Dan Pop

PHP, Ruby, and Python work natively and are available to install with brew.

I also tried an Nginx docker image and it worked - not sure about apache. I usually don't install those locally as I run them with docker.

Some things like mysql are not ported yet but should work through the Rosetta 2 translation layer.

Thread Thread
 
leob profile image
leob

Cool ... maybe "brew install from source" works in those cases where no native 'bottle' is available yet (mysql) ?

Thread Thread
 
alexandrudanpop profile image
Alexandru-Dan Pop

Haven't tried this only with node when I needed an issue fixed that was not published yet.

Basically, it should work as long as it can compile on arm. For MySQL I just checked and it runs on the new chip
formulae.brew.sh/formula/mysql