Skip to main content

Three Ways To Exit From Node REPL

Install Node
Open Command Line/Terminal
To check the running node version run the following in Command Line/Terminal:
node -v
To start node REPL run the following in Command Line/Terminal
node

Three Ways To Exit From Node REPL

Ctrl + c
Ctrl + c
.exit
process.exit()
That is it!

Comments