<aside> ⚙️ The exercises we’ll go through will need Node.js installed. Download & install the latest Node.js available version.

</aside>

Download | Node.js

Why do we need Node.js?

Usually, to run JavaScript, you would make a <script></script> tag in your index.html file. That’s how it works in browsers (the browser has a JavaScript engine for interpreting your code). In this workshop, we just want to run the code in the terminal, without using any browser. That’s where Node.js comes into play.

What is Node.js?

Node.js is a JavaScript runtime, meaning we can run JavaScript in the terminal via node command.

How do I know if I have Node.js installed?

Run node -v in your terminal. If it outputs a version, you have it installed.