I misunderstood the meaning of nvm deactivate
and thought it was to switch between nvm and brew version of node, and used the command. Is there a method to reactivate NVM?
For switching to different versions that are already installed you can use the following commands for different scenarios: nvm use node #uses latest Node. js version available on server. nvm use --lts #This will switch to the latest LTS version nvm use 14.15.
Setting a default NVM version To set the default NVM version, you first have to make sure that version is installed in NVM. We can then run the following command to set this as our default version. You can check which versions you have installed by running the following command.
NVM deactivate only affect on current shell. You can open a new shell and regain the effect. It removed any NVM path from the current shell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With