Package Management Practicing
Oct-2022
NVM
Node Version Management, makes using multiple version of node in your system at once, basically.
Troubleshoot
- nvm requires to be initialized every terminal session!
nvm alias <version\
command makes it persistent- make sure nothing does export after nvm in .bashrc or .bash_profile
NVM Practices
List versions, installed
$ nvm ls
List versions in remote, to install
$ nvm ls-remote
Install latest available version, always
$ nvm install node
Install the latest stable version, favorite
$ nvm install --lts
Activate the latest stable version which installed
$ nvm use lts/*
Uninstall a version
$ nvm uninstall 16.17.1
Most needed packages in global
npm i -g ganache nodemon @remix-project/remixd truffle uglify-js