

I will be continuing from a Mac perspective. Select your appropriate distro and just follow the steps. $ choco install -y nodejs.install openjdk8įor Linux, you may just follow the instructions directly from based on your distro. This will go ahead and install node as well as JDK for us! This will take a while, don’t touch it! It’s not actually frozen. Just start a powershell session with the administrator rights. Homebrew or brew, which is specific for MacOS, is a package manager that makes it super easy to install applications.įor windows, we will need to run powershell and install via Choco, which is the recommended package manager for Windows. So to add in the package, we simply need to run

One of Metros main features is to provide sub-second reload speeds which provide that fast refresh feature. Metro takes in options, an entry file, and gives you a bundled Javascript file that includes all our code.

Specifically for React Native, Node will use a server side build script called Metro to bundle our javascript. It is in charge of building our javascript code. The very first step that we need to take is to install Node! Node is a server-side Javascript runtime environment. Of course we are able to use the expo client to run our project but in this specific article we will not cover expo, that will be for a future article so stay tuned! Keep in mind that if you are on a Windows or Linux computer, you won’t be able to run your project on an iOS simulator. The usual flow for installation is to basically install Node and the appropriate software for Android and iOS. In this article, I will be setting up the environment from a Mac perspective, but I will show you which areas differ for Windows / Linux.

In this part we are going to focus solely on setting up our development environment and the necessary tools needed to get things up and running.ĭepending on the type of OS you have, whether it is a Windows, Mac or a Linux, setting up the appropriate development environment will require some different steps but overall they’re all very similar. We’ll be showing you how to create a React Native app from scratch. Welcome back to part 2 of our React Native series.
