Eric (Jake) Laursen
  • CV
  • /
  • node/
  • Running a Program through an Entrypoint
  • Learn about evaluating & printing code from the CLI with node
  • Node REPL
  • Requiring Modules

Terminal Input

Node Terminal Input

Running a REPL

Use node as a "Read-Evaluate-Print-Loop" environment

node [options] [V8 options] [<program-entry-point> | -e "script" | -] [--] [arguments]

Running A Program

Use node to evaluate cli input

node -e "const x = 'this is a string'"
Page Tags:
NodeJS
Terminal
cmd