Summary: In this tutorial, you’ll learn how to set up a React Native development environment for creating cross-platform mobile apps.
Step 1. Install Node.js LTS version with Node Package Manager (npm).
Step 2. Open your Terminal (Command Prompt on Windows or Terminal on macOS or Linux) and type the following command to install the create-expo-app
package:
npx create-expo-app@latest
Code language: CSS (css)
It’ll prompt you to install the latest version of the create-expo-app
package. After installing the create-expo-app
package, you can create a new React Native app using the create-expo-app
command.
Step 3. Install Expo Go on your phone, either Android or iOS. The Expo Go will allow you to test your mobile app within the Expo Go app on your phone.