Home > Enterprise >  Not able to uninstall Appium 2.0.0-beta.46 on mac Monterey
Not able to uninstall Appium 2.0.0-beta.46 on mac Monterey

Time:11-03

I used npm to install appium 2.0.0-beta.46. After that I installed appium 1.22, but the appium -v still shows 2.0.0-beta.46.

So I tried various options

  • npm uninstall -g [email protected]

  • sudo npm uninstall -g [email protected]

  • sudo npm uninstall -g appium@beta

  • sudo npm uninstall -g appium@next Plus

  • npm cache clean --force But still, I am getting $ appium -v 2.0.0-beta.46

When I did $which appium, I get /usr/local/bin/appium

I rebooted the system twice, but no use. What is the best way to do the uninstall the 2.0.0-beta.46 and go back to 1.22 ?

Appreciate the help.

CodePudding user response:

Perhaps also uninstall appium 1.22, hoping all is cleaned up after that.

npm uninstall -g appium

CodePudding user response:

Because I am unable to uninstall all the fragments of Appium 2.0, 1.22, node etc., I took the risk of installing the trialware PowerMyMac tool, and could able to clean all the software. I know it is not a solid solution and I won't suggest to others, but I was desperate and it did worked.

  • Related