Similar to the create-react-app CLI, the create-react-native-app CLI is used to create an application that includes build scripts that can be used to build an application for both development and production environments. It also includes packager, which allows you to test your application on iOS and Android emulators and also on real devices.
Let's get started by first installing the CLI:
npm install -g create-react-native-app
The preceding command installs the CLI in the global node_modules directory. The next step is to create a React Native project using the CLI: