Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reactivate NVM?

Tags:

node.js

nvm

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?

like image 245
Aero Wang Avatar asked Aug 11 '17 02:08

Aero Wang


People also ask

How do I switch from Node to 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.

How do I change the default NVM?

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.


1 Answers

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.

like image 115
Yana Agun Siswanto Avatar answered Oct 16 '22 21:10

Yana Agun Siswanto