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
?
nvm deactivate
only affects the current shell. You can open a new shell and regain the effect. It removed any nvm
path from the current shell.
Here is the official nvm
documentation: Restoring PATH.