Android Studio is not required. We will use shell script to install sdk-platforms and sdk-tools.
You'd better install jdk8, not jdk10. Because jdk10 may make your app crash.
npm install -g react-native-cli@latest react-native-init@latestOpen terminal and type script:
react-native-init YourProjectNameAnd then run your project:
cd YourProjectName
npm startYou can specify the version you want, default value is the latest react-native version.
react-native-init YourProjectName --version=0.56.0Using npm to install package whatever.
react-native-init YourProjectName --npmIf you don't append this parameter, we will check yarn at first, and then check npm when yarn is not installed.
React-Native 0.55.4+