DEV Community

Cover image for How to setup Development Environment on new Macbook Pro M1

How to setup Development Environment on new Macbook Pro M1

Jonathan Reeves on December 04, 2020

Feeling Lost Hello if you bought the new Macbook Pro with the M1 chip and you are struggling to setup your development environment then ...
Collapse
 
jimmont profile image
Jim Montgomery

thanks for this! btw brew is available for apple-silicon with some packages--I think you can run it alongside the x86/rosetta one at /opt/homebrew and it includes node latest v15. I was able to install cargo for apple-silicon on m1 too per the release within a few days of this article: blog.rust-lang.org/2020/11/27/Rust... more on brew details at github.com/Homebrew/brew/issues/7857

Collapse
 
redhoodjt1988 profile image
Jonathan Reeves

Thanks. Glad you liked the article and thank you for the refrences. I will update my post with these by the end of the day today so people know that there's alternative solutions. Thanks again.

Collapse
 
janpauldahlke profile image
jan paul

Hi man. Ty for the writeup. I also thought about replacing my 2016MacBook Pro with ARM one, but after speaking to collegues about the differences of the architecure, i decided to wait like 2 years. Then i will check for the most common tools and their compatibility.

Collapse
 
redhoodjt1988 profile image
Jonathan Reeves

I definitely see where you're coming from. I decided to go ahead and get the laptop because I have been developing on Windows computers for about 2 years now and have hated every minute of it. I started my developer journey on aac and switched to windows in a very regrettable decision. I then found a new job where we now develop solely on macOS and decided to go ahead and buy my own MacBook but get the M1. Other than the slight learning curve of Rosetta 2 and the command you need for installing and running the Intel based software I would say that the M1 is faster than my work Mac which is the late 2019 model with 6-core i7 and 16GB of Ram. I am thoroughly enjoying the new MacBook pro. Of course the 16" would have been better but as that hasn't come out yet I have grown accustomed to the 13.3 inch screen since all of my personal projects before this laptop were on a surface laptop which is similar in screen size.

Collapse
 
lukeannison profile image
LukeAnnison • Edited

Great article. Thanks very much for this. FYI there is a typo in the npm install --save-dev typescript tslint @type/node command. Types should be a plural, so:

npm install --save-dev typescript tslint @types/node

Also in index we are missing a string literal at the end.

Hope this helps!

Collapse
 
leewynne profile image
Lee

Yay! Can’t wait to get my hands on one of these. Coming to AWS in 2021 too!

Collapse
 
redhoodjt1988 profile image
Jonathan Reeves

It's a really great laptop and I have enjoyed every minute I have used on it. Xcode install took next to no time compared to my work Mac which is last year's 16" 6-core i7 with 16GB of ram. So it's a very fast machine. The benchmarks aren't lying. The ones I saw on youtube that is. Not quite sure what you mean about coming to AWS in 2021 though.

Collapse
 
smithaitufe profile image
Samuel Smith

Hi, I am about getting one MacBook Pro M1 for myself.
What would you recommend as the best approach to go with Docker since Docker Desktop isn't supported yet.

Thread Thread
 
redhoodjt1988 profile image
Jonathan Reeves

I would have to research that to be honest. I don't use Docker currently but I'm m sure there is a workaround for it. I'll update this post once I find an answer for you.

Collapse
 
pengeszikra profile image
Peter Vivo

Thx, nice to know rust run on MacBook Pro M1

Collapse
 
redhoodjt1988 profile image
Jonathan Reeves

No problem. Glad I could help.