Saturday, June 20, 2020

React Native : Environment Setup

                                            Environmental Setup

There are different ways for react native installation. It depends on which operating system you use. The instructions and tools are different for each operating system.Developing apps using react native on windows operating system requires Android Studio ,VS Code, Node. for mac operating system requires Xcode, Android Studio.

Prerequisites: (Windows)

1. Download & install JDK( Java Development Kit)

2. Download & install Node

3. Download & install Android Studio


After that, Open the command prompt and run the following commands.

4. Install react native globally : npm install -g react-native-cli

5. Create a new React Native project : react-native init project name

6. Run the project : react-native run-android


Prerequisites: (Mac)

1. Download & install Xcode

2. Download & install Android Studio

After that, Open the command prompt and run the following commands.

3. Install Homebrew :/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)

4. Install Node.js : brew install node

5. Install Watchmen : brew install watchman

6. Install react native CLI : npm install -g react-native-cli

7. Create a new React Native project : react-native init project name

8. Run the project : react-native run-ios



Previous Post
Next Post

post written by:

Hello guys, myself Pooja Tirmare. I want to share my knowledge with people so they can learn react native and make beautiful applications.