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
Mathew Kurian
4,698 PointsJavascript on Terminal
Is there anyway to get Javascript working within my Terminal window on a Macbook Pro? I have Yosemite, and I like working with my Terminal window better than opening up a browser console.
2 Answers
LaVaughn Haynes
12,397 PointsInstall node https://nodejs.org/
You should be able to run javascript from the terminal.
Craig Watson
27,930 PointsHi Mathew,
Sorry for the delay in getting back to you following your answer request, are you looking to write javascript in the terminal and print it to a file to save ? / Run the javascript ?
Craig
LaVaughn Haynes
12,397 PointsLaVaughn Haynes
12,397 Pointshttps://www.youtube.com/watch?v=Imj8PgG3bZU