Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install node7 on mac os? [duplicate]

Tags:

node.js

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

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

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

$ node --version
v6.9.1

I wander why the version show different for these two commands. How to install the node latest version.

like image 756
Joey Yi Zhao Avatar asked Feb 10 '26 11:02

Joey Yi Zhao


1 Answers

Run brew link node resolve the issue.

like image 200
Joey Yi Zhao Avatar answered Feb 18 '26 13:02

Joey Yi Zhao



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!