Setting Up React Native Development Environment

React Native 8 min min read Updated: Jul 25, 2026 Beginner
Setting Up React Native Development Environment
Beginner Topic 16 of 20

Setting Up React Native Development Environment

This tutorial brings together all the individual setup steps into one complete, step-by-step guide for configuring a fully working React Native development environment from scratch.

Step 1: Install Node.js

Download and install the recommended LTS version of Node.js, which powers the React Native CLI and package managers.

bash node --version npm --version

Step 2: Install a Package Manager

npm comes bundled with Node.js, but many developers prefer Yarn for its speed and reliable dependency resolution.

bash npm install --global yarn

Step 3: Install Android Studio (For Android Development)

Install Android Studio, configure the SDK Manager, and set up the ANDROID_HOME environment variable as covered in the Android setup tutorial.

Step 4: Install Xcode (For iOS Development on macOS)

macOS users should install Xcode from the App Store along with command line tools and CocoaPods to enable iOS builds.

Step 5: Install a Code Editor

Visual Studio Code is the recommended editor, offering excellent React Native and JavaScript support through extensions.

Step 6: Verify Your Setup

Use the React Native doctor command to scan your entire environment and identify any missing dependencies.

bash npx react-native doctor

Step 7: Create a Test Project

Create a sample project to confirm your environment works correctly end to end.

bash npx react-native init TestApp cd TestApp npx react-native run-android

Conclusion

Following these steps in order ensures a fully functional React Native development environment, ready for building, testing, and deploying real-world mobile applications on both Android and iOS.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators