At first run this command on your terminal. npm i -g react-native-cli. Then
npm i -g react-native-cli
Then create your react-native project by this command. React-native init Project name. then
React-native init Project name
then move to your project directory by cd command.