In command line mode, you can execute node
to enter the Node interactive environment
See >
it in the Node interactive environment
REPL command
-
ctrl + c - Exit the current terminal.
-
Press ctrl + c twice - to exit Node REPL.
-
ctrl + d - Exit Node REPL.
-
Up/Down Arrows - View the entered command history