Screenshot 2022-08-28 at 21.32.25.png

Node is the framework that allows you to run javascript on your machine or server. Node is used for full-stack development (development for applications that run both in browsers and on servers).

Let’s install an app that will allow us to manage which version of node we have installed. Using iTerm2 again. (get used to it)

brew install n

Once it’s installed run:

sudo n latest

(sudo just means to run the command with admin privilege)

To check it’s running type this in your terminal

node

It should start a node session in your terminal

Welcome to Node.js v16.14.0.
Type ".help" for more information.
>

press Ctrl+C to quit.