How to Manage multiple version of Node using NVM - 4K

Опубликовано: 30 Сентябрь 2024
на канале: Awais Mirza
2,335
29

NVM is the best way to manage node JS installation on your mac / Linux. Use the script download below to install NVM.

curl o https://raw.githubusercontent.com/cre... | bash

- Once you have install nvm then you need to export nvm directory use the script given below:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

Multiple Version of node are required because sometime you need to use different node version on different platforms.

Subscribe to: @Umair aka mirza

Udemy Course:
Loopback Course: https://www.udemy.com/course/angular-...

************************************************
Developer and Teaching Services Contact Details:
Email: [email protected]
LinkedIn:   / awais-jamil  

Donate to help the channel: https://paypal.me/tipawais
Github: https://github.com/awaismirza

************************************************
My Computer Setup :
MacBook Pro : https://amzn.to/31CtKHw
Monitor: https://amzn.to/31Jubj9
Microphone: https://amzn.to/2KDZYfM
Keyboard: https://amzn.to/2KCkjSA

#NVM #NodeJS #awaismirza