In this article I will show you how to download react native on a Windows and Mac computer. The documentation on Reactive Native can be found here (https://facebook.github.io/react-native/docs/getting-started.html).
Install npm and node.js
Go to the node.js website (https://nodejs.org/en/)and install node.js. npm is distributed with Node.js which means that when you download Node.js, you automatically get npm installed on your computer.
Install the “Create React Native App”
Be sure to go to the location where you installed Node.js
Windows: I installed it in C:\Program Files\nodejs
Mac: I installed it in /usr/local/bin
NOTE: On mac make sure that /usr/local/bin is in your $PATH.
To go to the location where you installed Node.js if it was in the same location, open command prompt as admin and copy/paste the below.
CD C:\Program Files\nodejs
Next after you are in the location where you installed Node.js, run the following command in windows.
Note: Make sure you opened the command prompt as admin
npm install -g create-react-native-app
Run the following command in your terminal. I am using sudo to give permission to install this.
sudo npm install -g create-react-native-app
Then run the following commands for mac only.
sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288
Windows or Mac
Next run the following commands. For either Windows or Mac.
This will start a development server for you, and print a QR code in your terminal.
Run Your React Native Application
Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer. Using the Expo app, scan the QR code from your terminal to open your project. The app should auto refresh every time you save the file.
NOTE: If you are using android, go to the play store and download Expo Project
Your project should be located /Users/<user_name>/AwesomeProject
Look under “All My Files”
With code examples and step-by-step instructions, author Bonnie Eisenman shows web developers and frontend engineers how to build and style interfaces, use mobile components, and debug and deploy apps. Along the way, you’ll build several increasingly sophisticated sample apps with React Native before putting everything together at the end.
Thanks for reading this article I hope its helpful to you all ! Keep up the learning, and if you would like more computer science, programming and algorithm analysis videos please visit and subscribe to my YouTube channels (randerson112358 & compsci112358 )