1

I'm trying to downgrade my NPM version from 6.5.0 -> 6.2.0 (i'm on MAC OS)

running npm install -g [email protected]

however it still shows version 6.5.0 in the terminal with npm -v (also after reboot)

Something i'm missing here ? i want to be able to switch between versions with easy, preferably not by reinstalling Node and NPM each time.

1 Answer 1

3

Best use nvm, the Node package manager. You can effortlessly switch between Node versions and their matching npm versions.

Try which npm and check your .profile and .bashrc files, maybe you have a specific npm path in there?

1
  • Here's a link to installtion instructions: nvm
    – mzmm56
    Commented Jun 5, 2019 at 18:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.