As I recently started to work on React Native, I wrote down some useful commands that may save you tons for hours.
Let's look at them
1. check out your installed react native version.
react-native -v
The above command might give you something like below. This gives you cli vesion
react-native-cli: 2.0.1
react-native: n/a - not inside a React Native project directory
2. check out actual react native version
npm view react-native version
In my case the output is
0.70.6
3. run your project in iOS simulator
npm run ios
4. install project dependencies
npm install
5. react native script version
npm view react-scripts version