I was lucky enough to get my 14" M1 Pro MacBook this week.
Prior to ordering, I had some concerns about web development on Apple Silicon and wanted to share my experience so far.
TLDR; Everything works with only very minor issues. I was able to install everything natively on the arm chip, I did not need Rosetta for compatibility.
Following the GoRails guide for Monterey using rbenv, everything installed with no problems.
The only thing I noticed was that Homebrew now seems to install to
/opt/homebrew instead of
/usr/local/homebrew, although that might just be a later version of Homebrew, rather than an Apple Silicon specific thing.
With Homebrew and Ruby set up, the next thing I needed was Node. I used node version manager and installed node v14 and v17 without issues.
This was where the first issues started. Heroku’s CLI is recommended to be installed using Homebrew, which throws a bunch of issues about x86 incompatibility.
The workaround I found, which I couldn’t find documented anywhere was to install Heroku CLI using npm.
npm i -g heroku
The only problem here, is that with NVM, you will need to install Heroku on each node instance you plan to use, so it’s always available inside your projects.
I was surprised that I didn’t need Rosetta installed, for the most part all the major apps I used, including Hyper (for terminal) and VS Code have Apple Silicon support.
I found a couple of smaller apps like ImageOptim don’t yet have support for arm, and rather than installing Rosetta, I’ve just not installed that yet, I’m sure I will be able to find a workaround if I need to compress images.
I was previously using a 16" MacBook Pro with an intel i9 CPU, the biggest problem I had with that laptop was the heat and fan noise.
Even screen recording, or taking a video call would max out the fans and cause the laptop to get extremely hot.
I’m very pleased to say the M1 Pro doesn’t have this issue, I haven’t heard the fans ramp up once, and that includes when compiling Ruby – which is awesome!
It also doesn’t get very warm when using it on your knee which I also like.
Finally, the performance is immense! For reference I purchased the higher standard config of the 14", so it has the 10 core CPU, 16 core GPU and 16GB of unified memory (I picked a standard config as I wanted to get it on day 1).
Compiling Ruby and Node happened really quickly and I’ve been very pleased with everything so far! My favourite ever laptop was the 13" MacBook Air (from 2011 I think?!), since then I’ve always had the 15" or 16" laptops, and I’m very pleased to be able to get a high performance chip in the smaller form factor again.