Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
woolvalley
· 8y ago · 0 comments
The basic rule of thumb is npm is 'virtualenv by default' while pip is 'global by default'.
Comments
[–]
JBReefer
8y ago
This kind of thing is why people are saying npm is easier...
[–]
3131s
8y ago
Yes, 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.