React Native Environment Setup: A Step-by-Step Guide
System Requirements
Operating System: Windows 11 Home
CPU: AMD Ryzen 5 PRO 4650U
RAM: 16GB
-
Installation Instructions
1.1 Install Node.js
• Download: Visit Node.js and download the latest stable version (LTS).
• Install: Follow the installer’s steps.
• Verify Installation:
node -v npm -v
-
Project Creation Once the environment is set up, create a new React Native project by following these steps:
-
Open Command Prompt (or Terminal in VSCode).
-
Run the following command:
npx create-expo-app@latest – template
then follow this link: https://docs.expo.dev/router/installation/#manual-installation Install dependencies:
npx expo install expo-router react-native-safe-area-context react-native-screens expo-linking expo-constants expo-status-bar
install the following dependencies for web:
npx expo install react-native-web react-dom
Running the Project:
npx expo start -c
• React Native Official Documentation: https://reactnative.dev/docs/environment-setup
• Node.js Official Website: https://nodejs.org
• Install Expo Router: Install Expo Router - Expo Documentation
This project is open source and available under the MIT License.