I\'ve been using NVM to install the latest versions of nodeJS for my node work. It works totally fine for installing separate versions and switching between them. It also in
Slight variation on the above instructions, worked for me. (MacOS Sierra 10.12.6)
npm install -g npm@3.10.10 rm /usr/local/bin/npm ln -s ~/.npm-packages/bin/npm /usr/local/bin/npm npm --version