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
BTW, when I ran
$npm -g list
/Users//.nvm/versions/node/v19.0.0/lib
├── [email protected]
├── [email protected]
└── [email protected]
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