'expo' is not recognized as an internal or external command

Probably the only thing missing is to add the expo executable to your path.

For Windows 10, you can simply add the npm folder to your path environment variable.

  1. Hit Windows key and search for Environment variables.
  2. Inside the Path variable under System variables, add a new entry (entries are separated by semicolons) with this content (without /node_modules ):

%USERPROFILE%\AppData\Roaming\npm

OR if you are using yarn C:\Users\{USER}\AppData\Local\Yarn\bin (as @Qwerty mentioned above)

  1. Open a new command prompt and enter

> expo

You will see something like this: enter image description here


I may be too late to answer this, but for people looking for the same error this is what worked for me.

  1. Install yarn if you don't have it. I used the command choco install yarn (you'll have to install Chocolatey). If you have scoop installed, scoop install yarn also works.

  2. Use yarn to install expo with yarn global add expo-cli.

  3. expo start should work now. yarn start and npm start should also work.

Hope that helps!


I wondered it was working last night when I first installed and run the "react-native" project but the very next day it showed me the same error as yours.

Here is what I did in windows 10 Operating System:

Add the following path :

environment variable > System Variables > PATH > C:\Users\YOUR_USERNAME\AppData\Roaming\npm

Now I ran the following commands one by one in CMD:

i) npm -g uninstall expo-cli --save

ii) npm install -g expo-cli

Now start the Project and run npm start and now it works for me.

I didn't try this article one but it also shows the solution for the same problem, see here


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


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

enter image description here

then press ok. Now,

expo --version