Unable to change version of node with brew switch

Viewed 24101

I'm trying to use node 8.9.1 but when trying to update using brew it says 8.9.1 is already installed

James-MacBook:~ james$ brew upgrade node
Error: node 8.9.1 already installed

But when checking the version it shows

James-MacBook:~ james$ node --version
    v0.10.48

So then I tried to switch to 8.9.1

James-MacBook:~ james$ brew switch node 8.9.1
Cleaning /usr/local/Cellar/node/8.9.1
7 links created for /usr/local/Cellar/node/8.9.1

But it is still showing as 0.10.48

James-MacBook:~ james$ node --version
v0.10.48
2 Answers

Nvm package... kind of slows down your terminal upon startup. I found it annoying....

You can always just uninstall node and install node that’s compatible with npm on Nodejs.org link below

All node version link <- !

look for pkg if your mac user, and msi for windows users

Related