Ionic2 upgrade

Is it possible to run ionic version 1 & 2 in the same machine. If yes, then how can I achieve it ?
I have already checked below discussion but it wasn’t helpful.