I have to work in
Magento 2.1.7 and
Magento 2.2.5 and for that, I need to install a different version of PHP, I have installed multiple xampp with different port no which resolves PHP requirement.
But now to run
Magento CLI with different PHP version is my problem.
Every time to run older Magento I have to change
Environment variable in my system. Is there any other workaround for this?
I know windows is not recommended for the Magento 2 development. But I have to use it.