expo init use npm code example
Example 1: install expo cli mac os
npm install -g expo-cli
npx expo-cli init projectName
cd projectName
npm run ios
npm run android
Example 2: how to check expo cli version
npm install -g expo-cli
npm install -g expo-cli
npx expo-cli init projectName
cd projectName
npm run ios
npm run android
npm install -g expo-cli