new


Node.js

JavaScript Node.js has become very popular javascript runtime environment.

Node JavaScript Overview

Node.js is a free open-source cross-platform JavaScript runtime environment.
To install node we can leverage brew:
Terminal
>
brew install node
> Output:

==> Installing dependencies for node: ...

Node needs to be installed. After it's installed we can check the version which will show that it's installed:
Terminal
>
node -v
> Output:

v20.9.0

To create a simple node app we can we initialize it. If we create a new folder and navigate there in terminal then execute npm init which will prompt us some questions such as name of project then the folder will be a node app.
NPM is the node package manager which we will utilize very often to install packages. It's similar to yarn.