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
🌐
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.
Find elsewhere
🌐
Brainstorm Creative
brainstormcreative.co.uk › home › react native expo › how to install or update the expo cli
How to install or update the Expo CLI
December 20, 2022 - While you are creating and building your Expo app you will need to make sure you keep Expo CLI updated, this post shows how to install, uninstall, or upgrade expo-CLI. If you are running your development build on an app you’ll also need to make sure you keep the Expo Go client updated too, links to which are included below.
🌐
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.
🌐
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 ...
🌐
CopyProgramming
copyprogramming.com › howto › uninstalling-expo-cli
Uninstalling Expo CLI - Create react app
May 23, 2023 - Uninstalling Expo CLI, Eliminating Unnecessary Expo Modules: A Guide, Upgrade required: Uninstall Expo and reinstall for latest version, Unable to execute global installation of expo-cli using npm install
🌐
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.

🌐
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
🌐
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