Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
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,062 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.