install new version of 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 update cli
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