npx expo run:ios vs expo run:ios

Hi

Running a react-native expo app on expo-cli 6.3.2 or 6.0.1

I have the two version because if i enter
npx expo run:ios. i get 6.3.2 and my app does not run i get One of the NSLocation*UsageDescription keys must be present
however if i run
expo run:ios, the app comes up on 6.0.1 and the app loads up fine

can anyone explain the difference between using npx and not and more importantly when doing a build which would EAS be using (might not be the same command but functionally which would it be when it builds?)