Node.js TutorialLesson 3Free preview
Node Get Started
This lesson is part of Node.js · All levels
Summary
To start Node.js you just install it from the official website, and then run the JavaScript file via the node command in the terminal. The same script can be executed directly without the compilation process. In addition to running files, interactive REPL is also available to test code quickly.
Key points
- Install Node.js from nodejs.org; installation already includes NPM
- Run the script with the node command (nama-file.js)
- The node executes JS non-stop until there's no more code to process.
- Use the no-argument node to open the interactive REPL
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.