without Expo:
npx react-native init projectname
with expo cli:
npm i -g expo-cli
expo init AppName
$ npx react-native init firstapp
$ npx react-native init firstapp
$ npm i -g create-react-native-app
$ create-react-native-app my-project
$ cd my-project
$ npm start
npx react-native init AwesomeProject --version X.XX.X
// react native:
npx react-native init projectname
// expo:
npm i -g expo-cli
expo init AppName
npm i -g expo-cli
expo init AppName