[MAC] How to downgrade appium on command line

I have installed appium (Command line tool) on my Mac and the .sendkey is broken in 1.2.2.
I want to downgrade appium to a lower version. How can I do that?

you can use appium-version-manager link which can be installed via npm.

And then do:

avm 1.1.0 # install version 1.1.0
avm use 1.1.0 # launch appium version 1.1.0

# or

avm 1.2.2
avm use 1.2.2
2 Likes

Thanks very much. Works perfect.