Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstalling Expo CLI

I have installed Expo CLI globally and cant start a new react native app without using expo cli and therefore would like to uninstall it from my system. I have spent hours trying to work out how to removeit globally from my system

like image 984
Judd R Avatar asked Sep 24 '18 09:09

Judd R


People also ask

How do I delete Expo project?

You can eject expo running the command npm run eject on the console. Make sure you'll choose the option React Native: I'd like a regular React Native project and then rename your project accordingly. You'll see a few questions on the console about the ejecting task: How would you like to eject your app?

What is Expo CLI?

Expo CLI is a command-line interface between a developer and Expo tools. It is used for a variety of tasks, such as: To run a project's development server, view logs, open the app in a simulator, etc., during the development phase of an app. Logging into your Expo account.

How do I uninstall react native command-line?

To remove react native cli globally, just use the npm uninstall -g react-native-cli command in your cmd or terminal it will uninstall react native cli from your computer.

How do I completely uninstall npm?

To completely uninstall node + npm is to do the following: go to /usr/local/lib and delete any node and node_modules. go to /usr/local/include and delete any node and node_modules directory. if you installed with brew install node, then run brew uninstall node in your terminal.


1 Answers

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

like image 189
Amir133 Avatar answered Sep 20 '22 19:09

Amir133