"node -v" shows the wrong version after "brew upgrade node"
I updated my version of Node.js with the help :> brew upgrade nodethat installed v5.3.0. But when I get the version of node c :> node -v, it shows v0.10.29.
I tried :> brew link --overwrite node, but it did not work.
Brew has a node associated with it /usr/local/Cellar/node/0.10.29, so I went there and noticed that there are other versions of the node, including the version I want in /usr/local/Cellar/node/.
How to tell brew the node link to /usr/local/Cellar/node/5.3.0?
Try brew link --override node
Also see the related question How to install the latest version of Node using Brew .