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 (2014) Introduction to Node.js Hello World

So I'm using the node.js command line on my comp. When I type in clear it doesn't work.

'clear' is not recognized as an internal or an external command ,operable program or batch file.

1 Answer

Andrew McCormick
Andrew McCormick
17,730 Points

If you are in Windows command line the command is "CLS". Powershell and Mac you can use "clear".