How to install multiple appium versions on my Mac

Hi,

My goal is to install two different Appium versions on my Mac. I want to use both versions to satisfy some cloud hosting requirements (iOS emulators require different version than Android emulators). How can I install and switch between both versions?
I tried using AVM https://github.com/abhinavsingh/avm but it is not supported anymore. I forked the project and started to debug it, but it is a never ending story. Is there another way how to achieve that?

Cheers

Hello,

If you are using the appium desktop, install and use the Keep both version as

If you want to use appium cli, try to install as below


+++Install version 1.20.1
% npm install --prefix /opt/appium1.20.1 [email protected]
+++Install version 1.20.2
% npm install --prefix /opt/appium1.20.2 [email protected]

+++ Start the version 1.20.1
% cd /opt/appium1.20.1
% ./node_modules/appium/build/lib/main.js --version
1.20.1
% ./node_modules/appium/build/lib/main.js
[Appium] Welcome to Appium v1.20.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
+++Start the version 1.20.2
% cd /opt/appium1.20.2
% ./node_modules/appium/build/lib/main.js --version
1.20.2
% ./node_modules/appium/build/lib/main.js -p 4724
[Appium] Welcome to Appium v1.20.2
[Appium] Non-default server args:
[Appium] port: 4724
[Appium] Appium REST http interface listener started on 0.0.0.0:4724

Hi Lien,

Thank you for this awesome solution. Your appium cli steps are what I was looking for.

Cheers!