npm sudo expo cli 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: expo cli not installing
yarn global add expo-cli
npm install -g expo-cli
npx expo-cli init projectName
cd projectName
npm run ios
npm run android
yarn global add expo-cli