Step 1 of 6

What is Node.js?

Node.js lets JavaScript run on your Mac, not just in a browser.

The simple version

JavaScript usually runs in a browser. Node.js lets JavaScript run on your Mac too. Many tools need it.

node

Runs JavaScript on the Mac.

npm

Comes with Node. It installs JavaScript tools later.

Optional check

This may not work yet. That is okay. We have not installed Node yet.

Type only the lines marked TYPE THIS. Do not type lines marked MAC REPLIES or NOTE.

TYPE THISnode -v
MAC REPLIESIf Node is installed, the Mac replies with v and some numbers.
NOTEIf the Mac says command not found, keep going. That is normal before install.

Course path