1 I uninstalled the node installed by pkg and installed nvm
2 node installed with nvm install 4.2.2
The question is: 1 Will installing nvm automatically install npm? I want to execute npm and say I can’t find the command.
Where is 2node installed? I can see it with nvm ls-as shown in the figure, but I can't find node when executing node -v?
What shell are you, adding node’s path in path inside