Working on 2 different computers

Hello, what is the best way to keep the versions of Npm, ionic, cordova, node, node modules, etc, synchronized in the computer of work and home. Beyond the version control of the project, how do I make both computers have the same development environment.

any ideas ?? any advice ?? some tool ??


Use nvm (or nvm-windows if you are on Windows), install a new node (which includes npm) with this, then install ionic and cordova. Then keep those versions in sync and updated on both machines.

All the rest will be taken care of automatically (Cordova platforms are part of your project, all the dependencies in node_modules as well).

1 Like

interesting, thank you very much for your quick response, I will try nvm.


1 Like

Thanks Sujan12, NVM is magic, all ok.


1 Like