Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

I can't seem to get node installed on my mac

I have used homebrew to install node on my Mac. I get a warning node 8.9.1 is already installed, its just not linked. You can use brew link node to link this version. I try brew link node and get an error. It tells me I can force it by entering brew link --overwrite node. I try it. I then try node node -v (I also try --v) and I get bash: node command not found. What is going on here.

2 Answers

I figured it out gang. I had to remove a file before the --overwrite would work on the brew link.

Zack Lee
PLUS
Zack Lee
Courses Plus Student 17,662 Points

I believe the version command is just

$ node -v

Not "node node -v" Also worth trying with 2 dashes if my suggestion doesn't work.

Yeah, thanks Zack. That was a typo on my part.