After running npm install -g expo-cli and successfully installing the packages globally, expo is still not recognized as an internal or external co
npm install -g expo-cli
expo
If it still doesnt work or you can't access npm. Try setting the path with the Windows PowerShell:
setx path "%path%;C:\Users\USERNAME\AppData\Roaming\npm"
It worked for me.