This guide outlines the steps to install, configure, and run an Expo app from scratch, using the npx create-expo-app
command. It is a standard tutorial for React Native + Expo classes, and we'll also provide links to Expo documentation and Expo Go downloads for Android and iOS.
I am currently using version
v16.14.0 of NodeJS
and I advise you to use the same version so that your environment is similar. But, you can also download the latest version (I believe it will work the same)
Before we get started, make sure you have the following prerequisites installed on your system:
To create a new Expo project, run the following command:
npx create-expo-app MyApp
Replace "MyApp" with the desired name for your project. The npx create-expo-app
command will create a new Expo app and guide you through some configuration options.
You should see this last message when the command finishes.
After creating the project, navigate to the project folder with the following command:
cd MyApp
To start the Expo app, run the following command:
npx expo start