
The process to install NVM is so simple, you only have to run the following command in the terminal: brew install nvm and after the installation has completed, you will have to add some code in. So after all these steps, you're able to install NVM and node. So after running these additional codes, you will see the request of Homebrew to add some code in. In this step, you will need to go to Homebrew homepage and then install it using your terminal.Īfter running the installation script in your terminal, you will see the request to run the additional codes, DON'T forget to run it! If not, just check it with your Xcode version. Then you have it downloaded and installed, you will need to open your Xcode, accept the licenses and then go to Preferences > locations and see if Command Line tools are already marked. This is the full installation for arm-based processors from Apple.įirst, you will need to download the lasted version of Xcode in the App Store. I will consider that you don't have anything that we use in the React Native environment. The variation in the build times for the battery life / thermal throttling test looks like pretty strong evidence that it's possible to get the M1 Pro into thermal throttling, if you load it up long enough.Hey! In this post, I will give you a quick guide to how to set up the React Native environment in M1, M1 Pro, M1 Max or M1 Ultra. The 16" should offer roughly 30% more battery life which would bring this up closer to 3 hours.Ģ–3 hours might sound terrible relative to what you might expect from Apple Silicon, however, keep in mind that this test had nearly all 10 cores running continuously. The 14" M1 Pro lasted 2 hours 10 minutes. In that time, it compiled the app 19 times.

This stress test took my 16" i9 MacBook from 100% to 0% in 58 minutes.


This is far beyond normal usage because it keeps nearly all cores running at capacity continuously. To test battery life, I used Gradle Profiler to do a clean build of our app on repeat with the screen at 1 notch of brightness and nothing else running.
