My npm looks deprecated, so it seems that I can use 4 ways to update it:
sudo npm update -g
some method is higher than the installed npm 3.8.6, and some are installed 3.8.7, and the latter with n installed 3.8.3.
What are the differences between these methods and is there a standard / official way to do this?
(the difference between 3.8.6 and 3.8.7 was on my Macbook 12-inch Retina with El Capitan. This was not the case on my Macbook Pro with Mavericks)
source share