To completely uninstall expo cli

On Windows

  • The first step npm -g uninstall expo-cli --save (also yarn global remove expo-cli if you use yarn).
  • Second cd %USERPROFILE% && rmdir /Q /S .expo

On Mac OS Catalina

  • The first step npm -g uninstall expo-cli --save (also yarn global remove expo-cli if you use yarn).

  • Second cd ~ && rm -rf .expo

Thanks to @Александр Наумкин and @Liko for editing and comments

Answer from Amir133 on Stack Overflow
🌐
Reddit
reddit.com › r/expojs › cannot uninstall expo
r/expojs on Reddit: Cannot uninstall expo
February 4, 2022 -

Ive been trying to install expo on mac for the past 3 hours and am now just trying to uninstall it since nothing has worked. Here is the error i get when i try to run "sudo npm -g uninstall explo-cli --save"

npm ERR! code ENOTEMPTY

npm ERR! syscall rename

npm ERR! path /Users/CharlieGunn/npm-global/lib/node_modules/expo-cli

npm ERR! dest /Users/CharlieGunn/npm-global/lib/node_modules/.expo-cli-dCHueSY8

npm ERR! errno -66

npm ERR! ENOTEMPTY: directory not empty, rename '/Users/CharlieGunn/npm-global/lib/node_modules/expo-cli' -> '/Users/CharlieGunn/npm-global/lib/node_modules/.expo-cli-dCHueSY8'

npm ERR! A complete log of this run can be found in:

npm ERR! /Users/CharlieGunn/.npm/_logs/2022-02-04T00_26_03_105Z-debug.log

🌐
Grabthiscode
grabthiscode.com › shell › uninstall-expo-cli
Uninstall expo cli - code example - GrabThisCode.com
how to uninstall react native cli globally · install expo · how to uninstall a package installed using homebrew · uninstall appx · expo install in ubuntu · how to install expo cli on windows · install expo cli windows ·
🌐
GitHub
github.com › nrwl › nx-labs › issues › 121
Remove expo-cli in favor of @expo/cli dependency for @nrwl/expo · Issue #121 · nrwl/nx-labs
September 28, 2022 - One of the updates in Expo 46 was to make @expo/cli package a locally installed bin package and remove the need to globally install expo-cli per this blog announcement. Here is the warning provided by expo-cli anytime it is run: This com...
Published   Sep 28, 2022
🌐
Codeinu
codeinu.net › language › shell › c880-uninstall-expo-cli
Uninstall Expo CLI
In terminal: npm -g uninstall expo-cli --save Uninstall Expo CLI
🌐
Expo
forums.expo.dev › expo development tools
Trying to uninstall expo-cli - no success - Expo Development Tools - Forums
December 6, 2018 - Hi, I am trying to upgrade to latest version of expo-cli (i.e. 3.0.2) and even though it seems to work, when checking version I still get 2.21.2 To solve, I have removed expo-cli using npm -g uninstall expo-cli I have also removed folder ...
Find elsewhere
🌐
Code Ease
codeease.net › programming › shell › expo-uninstall
expo uninstall | Code Ease
Expo is a tool used for developing and managing React Native applications. To uninstall Expo from your project, you can use the Expo CLI command expo uninstall.
🌐
Code Ease
codeease.net › programming › shell › Uninstall-Expo-CLI
Uninstall Expo CLI | Code Ease
If it returns an error, Expo CLI has been successfully uninstalled.
🌐
npm
npmjs.com › package › expo-cli
expo-cli - npm
Author message:The global Expo CLI has been superseded by 'npx expo' and eas-cli –– Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421
      » npm install expo-cli
    
Published   Jul 05, 2023
Version   6.3.10
🌐
GitHub
github.com › expo › expo › issues › 21430
Trying to update to latest ExpoCLI 6.3.2. Still only recognizes legacy expo-cli! · Issue #21430 · expo/expo
January 2, 2023 - You can do this by running the command npm uninstall -g expo-cli followed by npm install -g expo-cli@latest.
Published   Feb 27, 2023
🌐
GitHub
github.com › expo › expo-cli › discussions › 590
Can't install expo-cli · expo/expo-cli · Discussion #590
Hello, npm install --unsafe-perm -g expo-cli doesn't work for me on windows, same error. i'll try on my mac this evening · Beta Was this translation helpful? Give feedback. ... There was an error while loading. Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... Complete uninstall ...
Author   expo
🌐
Reddit
reddit.com › r/reactnative › how to get rid of expo? all info i found seems to be out of date
r/reactnative on Reddit: How to get rid of Expo? All info I found seems to be out of date
April 6, 2023 -

I made a big mistake - I wanted to view my app on a device, and was having trouble with X-Code refusing to recognise my developer credentials. They were fine on the website, but X-Code didn't want a bar of it. So I got frustrated, and someone suggested "Why not use Expo? Then you can just scan a QR code". Oh boy, should have done more research than a quick read of the Expo website before going along with that one! It took 10 minutes after I'd installed Expo to realise I really don't want this.

How do you get rid of Expo from a project that was generated by RN CLI and was half completed before I installed Expo? I haven't done anything I need to keep since installing Expo, so I tried doing a hard reset from the remote git repo I was using (which I had committed to last BEFORE trying Expo), but that didn't work, for reasons I am still trying to work out.

expo eject and npm run eject are both no longer supported, it seems.

🌐
Homedutech
homedutech.com › program-example › create-react-app--uninstalling-expo-cli.html
create react app - Uninstalling Expo CLI
This query explains how to remove Expo CLI from a Create React App project. # Uninstalling Expo CLI globally npm uninstall -g expo-cli
🌐
Medium
medium.com › @onurcelik.dev › how-to-remove-expo-from-a-react-native-project-ba19a1621ff4
How to remove Expo from a React Native project | by Mustafa Onur Çelik | Medium
January 5, 2023 - To remove Expo from a React Native project, you will need to “eject” the project from the Expo managed workflow. This process will create a new native project that you can build and run on your own, without the need for the Expo client app.