1

I have installed a tool called eas-cli from Expo.

I have ran all the commands I could think of, and even went to the root directory of npm and deleted the folder of it, but I still see results when I type eas --version in terminal. How can I fully delete this tool from my mac? is there a directory im not looking at ?

haibert
  • 148
  • 1
  • 12
  • 2
    Try `which eas` in terminal. It should tell you where it is located. – tromgy Oct 29 '21 at 23:30
  • you are a legend. I was growing grey hair. THANK YOU! If you have a buy me coffee or a tip link i would like to tip you. – haibert Oct 30 '21 at 00:04

2 Answers2

3

npm uninstall -g eas should uninstall the item from your path, but if it doesn't, then which eas will tell you where it is in your path, and command -v eas will tell you how your shell is invoking it. (Here's the explanation of command -v vs. which.)

Trott
  • 66,479
  • 23
  • 173
  • 212
0

If you can't seem to get this package up to date or uninstalled, you may have used Yarn in the past.

Try yarn global remove eas-cli to completely remove the global Yarn package. If you then want to reinstall it, use npm install -g eas-cli. I have the global NPM command listed here because the eas-cli prompt to update always lists that command, so it might be doing your future self a favor to just use NPM to install globallys.

JoshJoe
  • 1,482
  • 2
  • 17
  • 35