Use Node Version Manager to Install Node.js on Mac and Linux.

Опубликовано: 06 Январь 2023
на канале: TechTutelage
232
4

Learn how to use NVM Node Version Manager to install node js on Mac and Linux. This is a quick and easy way to manage your node.js installation and switch between different versions.

🔔 SUBSCRIBE: If you find my videos helpful, you can support me by subscribing and leaving a comment.    / @techtute  

Timeline:
00:00 Download and install NVM Node Version Manager
01:05 Fix missing .bash_profile
02:27 Source .bash_profile, .bashrc, etc.
03:00 Install most recent version of Node
03:33 List available Node versions
04:20 Install specific version of Node.js
05:05 Switch between Node versions
06:04 Change default Node versions
06:44 Makes test "Hello World!" node.js app

To completely uninstall NVM along with all node.js versions and packages run:
rm -rf ~/.nvm

GET DOWNLOAD LINK FOR THE LATEST NVM INSTALLER HERE:
https://github.com/nvm-sh/nvm