Skip to content

Instantly share code, notes, and snippets.

@gzagatti
Created March 14, 2016 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gzagatti/249bd58d3ec13469a97d to your computer and use it in GitHub Desktop.
Save gzagatti/249bd58d3ec13469a97d to your computer and use it in GitHub Desktop.
Available commands in node.js REPL

Node.js REPL

Special REPL commands:

  • .break/<ctrl>C: breaks multi-line expressions
  • .clear: resets the context
  • .exit/<ctrl>D: close the I/O stream; causes the REPL to exit
  • .help: show this list of special commands
  • .save: save the current REPL session
  • .load: load a file int the current REPL session
  • tab: show both global and local scope variables

source: https://nodejs.org/api/repl.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment