nvm removes globally installed packages 1

nvm removes globally installed packages

# You can use the following nvm command

# Version being the last node version you had those packages in
nvm reinstall-packages 

Here is what the above code is Doing:
1. It’s checking if the current node version is the same as the one you had the packages installed in.
2. If it’s not, it’s reinstalling the packages from the previous version.

Similar Posts