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 Node.js Basics 2017 Introduction to Node.js Hello World

Javier Alvarado
Javier Alvarado
16,060 Points

How can I install the LTS version of Node using Homebrew?

When I used Homebrew to install Node on my laptop, it installed the Current version of Node (7.5.0 at the time I installed it). The LTS version is recommended for most users though, so I'd rather have that installed on my laptop. How can I install that version using Homebrew?

1 Answer

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Hello Javier,

To install a specific version of node, 6 for example, with homebrew you can do this

brew install node@6

I hope this helps.

Chris Armendarez
Chris Armendarez
27,732 Points

WARNING! Try that at your own risk, it just broke a bunch of stuff on my computer and I had to spend like two hours fixing broken symlinks and what not.