How do I install node7 on mac os?

I am trying to install node 7 above on Mac OS. I used the command below:

$brew install node
Warning: node-7.9.0 already installed, it just not linked.

      

It states that node -7.9.0 is already installed. But below command gives version 6.9.1:

$ node --version
v6.9.1

      

I am wandering why the version is different for the two commands. How to install the latest version of node.

+3


source to share


1 answer


Run brew link node

to fix the problem.



+2


source







All Articles