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.


Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 90,705 Points

What's the difference between these 2 NodeJS Environments

On the left is the Node Command line I managed to install and verify as working. On the right is another Command Prompt that seems to be specific to Node ans has its branding. But doesn't seem to accept any commands whatsoever.

NodeJS Command Line

1 Answer

Steven Parker
Steven Parker
216,017 Points

The window on the left is a system prompt. You entered system commands to get the versions from node and npm.

The window on the right is an interactive mode prompt from node. Try entering some JavaScript (example: console.log("Hello, World!");) or type .help.