Install NVM | Install different node versions in single machine using nvm #NVM #NodeJS

preview_player
Показать описание
This tutorial is for those who are interested to learn how to install nvm on the local machine from this must-watch till the end. In this video, you will also learn the nvm definition and purpose of it and so many other things. Bookmark this video so that you use it whenever you need it in your new machine.

Install NVM -

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

nvm -v
node -v v17.4.0

nvm install node Install the latest available version
nvm use node Use the latest version
nvm install --lts Install the latest LTS version
nvm use --lts Use the latest LTS version

Uninstall NVM
rm -rf ~/.nvm
rm -rf ~/.npm
rm -rf ~/.bower

Note - bower (package manager)
Рекомендации по теме
visit shbcf.ru