---
title: "How do you create a new React Native project?"
description: "Create a React Native app with Expo using create-expo-app, or with the community CLI. See the prerequisites, the run commands and which one to pick."
url: "https://bugsee.com/answers/react-native/how-to-create-a-react-native-project-a-beginners-guide/"
---

# How do you create a new React Native project?

The quickest way is Expo: `npx create-expo-app@latest MyApp`. For a project with full control of the native code, use `npx @react-native-community/cli init MyApp`.

```bash
# Expo (recommended for most new apps)
npx create-expo-app@latest MyApp
cd MyApp
npx expo start            # press i for iOS simulator, a for Android emulator

# React Native community CLI (bare project with ios/ and android/ folders)
npx @react-native-community/cli init MyApp
cd MyApp
npm run ios               # or: npm run android
```

- Prerequisites for the bare CLI: Node.js, Watchman (macOS), a JDK, Android Studio with an emulator or device, and Xcode with CocoaPods for iOS.
- Expo gives you a managed workflow with an installable development app, over-the-air updates and many ready-made modules. You can still add native code with development builds.
- The older `react-native init` command is deprecated, so follow the commands in the current getting-started guide.
- If the Metro bundler shows stale code, restart it with a cleared cache.

Add Bugsee early in a new React Native project and every test build produces reports with video, logs and network traces. https://bugsee.com/react-native-monitoring/

## Related questions

- [How do you clear the Metro bundler cache in React Native?](https://bugsee.com/answers/react-native/clear-the-metro-cache/)
- [How do you manage permissions in React Native?](https://bugsee.com/answers/react-native/how-to-manage-permissions-in-react-native/)
