Difference Between Node.exe and Node.js Command Prompt
Node.js Command Prompt - This is a normal command prompt where where the path has been adjusted to include node.exe.
Also Read : Keyboard Control And Commands in Node.js (REPL)
Now suppose you have typed something (lets say node) in Node.exe and wanted to clear it.
Unlike Node.js Command Line, cls will not work in Node.exe.
To clear the Console of Node.exe on Windows you have to type process.stdout.write('\033c').
Please Like and Share the CodingDefined Blog, if you find it interesting and helpful.