2 ms·The basic rule of thumb is npm is 'virtualenv by default' while pip is 'global by default'.by woolvalley 9y agoThe basic rule of thumb is npm is 'virtualenv by default' while pip is 'global by default'.JBReefer 9y agoThis kind of thing is why people are saying npm is easier...3131s 9y agoYes, npm installs libraries locally so it avoids the need for something like virtualenv in the first place. Coming from Python, that immediately struck me as a better approach to package management.