๐ ๏ธ Prerequisites
โ Node.js must be installed on your computer before starting.
๐ Step 1: Set Up the Project Folder
Copy the Complete Node Bootcamp folder from the course starter files into your working directory.
e.g.,Desktop/complete-node-bootcamp/If you haven't downloaded the starter files yet, get them from the course's GitHub repository.
๐ป Open the folder in your code editor (VS Code is used here, but any editor works).
Open VS Code Terminal
Shortcut:Ctrl+ ```(Backtick key) OR Click Terminal -> New Terminal
๐กNote: In this section, you won't work on the actual project yet. You'll first practice using Node.js from the command line.
๐ Step 2: Start the Node REPL
Type:
nodeThen press Enter.
๐ข This opens the Node REPL (Read-Eval-Print Loop).
๐ป It's an interactive environment where you can write and execute JavaScript instantly, similar to a browser's Developer Console.

โ๏ธ Step 3: Write JavaScript in the REPL
You can define variables:
const name = "Jonas";โ Run any valid JavaScript code.
โก Node.js supports modern JavaScript (ES6+) features like
const,let, arrow functions, template literals, and more.๐ Unlike browsers, Node.js executes JavaScript directly on your computer.
๐งฎ Example
3 * 8
// Output: 24
โจ๏ธ Useful REPL Shortcuts
โจ๏ธ Action | โ How To Do It |
|---|---|
๐ช Exit the REPL | Type |
๐ช Exit (Alternative) | Press Ctrl + D |
๐งน Clear Terminal | Ctrl + K (Windows) / Cmd + K (Mac) |
๐ Show Global Variables | Press Tab (sometimes twice) |
๐ Show Object Methods | Type |
๐ Explore Global Variables
If you are in REPL Mode then Press Tab twice without typing anything.
OR Else
Type node then Enter and then Tab twice

You'll see globally available objects such as:
๐ฆ
Array๐ค
Stringโ
Math๐ข
Number
You'll also notice Node.js-specific modules like:
๐
https๐
fs๐
crypto
๐ก These built-in modules will be covered later in the course.
๐ฏ The Underscore (_) Trick
The underscore (_) automatically stores the result of the last executed expression.
Example
3 * 8
// Output: 24
_ + 6
// Output: 30
_ - 30
// Output: 0๐ก This is useful for quick calculations without retyping previous results.
๐ช Exit Properly
๐ Exit the REPL:
Ctrl + D
or type
.exit
๐ฏ Key Takeaways
๐ข Node.js allows JavaScript to run outside the browser.
๐ป The REPL is an interactive environment for testing JavaScript code quickly.
โก It supports modern JavaScript (ES6+) features out of the box.
๐งช Use the REPL to experiment with JavaScript before writing full programs.
๐งญ The Tab key helps discover global objects and built-in methods.
๐ฏ The underscore (
_) stores the last evaluated result, making quick calculations easier.