How to manage multiple NodeJs versions on Mac

preview_player
Показать описание
Many times when we work will different projects, a few projects demand an older version of NodeJS. In such a case we need to uninstall the existing and install the other requested version. To get rid of this, we can use nvm (Node Version Manager) which simplifies and helps us to manage multiple node versions.

To install the NVM, use the following curl command.

To install specific version use "nvm install version"

To list all installed versions on the system, use "nvm list"

To switch from one version to another use "nvm use version"

Thank you.
Рекомендации по теме
Комментарии
Автор

my friend!!! Argentina send the best Thank youu, you are the best!
I have bouth a old Imac to start learn Code and now I can run my test, node just let me instal version 6 xD
Now I feel like Manager. hahaha
Namaste

alancapristo