clear windows nodejs terminal code example Example: clear terminal node js process.stdout.write('\x1Bc');