After running npm install -g expo-cli
and successfully installing the packages globally, expo
is still not recognized as an internal or external co
go to the environment variable, then in the user variable section find Path
and press the edit button, you will see a new window, press new and add the following
%USERPROFILE%\AppData\Roaming\npm
then press ok. Now,
expo --version
Added These path of npm like this i have the same issue i fix it by adding the path to environment system
C:\Users\abobakr\AppData\Roaming\npm
After that close CMD and open it again it should work believe me
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.