Node.js: Installing Node.js on your computer

The first thing we need to do is to install Node.js.

Go to https://nodejs.org

There you’ll find the installer for your operating system.

In this screenshot you see “Download for macOS” because that’s my OS but you’ll see yours:

You have 2 options: LTS (long-term support) or Current, which has all the latest features.

There’s not a lot of difference for our use case. You can pick any of those.

At the end of the installation process, you should be able to open your terminal and have the node command available, in the standalone terminal:

Or inside VS Code after opening the terminal inside VS Code, using the menu Terminal → New Terminal

Lessons in this unit:

0: Introduction
1: ▶︎ Installing Node.js on your computer
2: How to write your first Node.js program
3: Importing other files
4: Using npm to install packages
5: Using built-in modules
Are you intimidated by Git? Can’t figure out merge vs rebase? Are you afraid of screwing up something any time you have to do something in Git? Do you rely on ChatGPT or random people’s answer on StackOverflow to fix your problems? Your coworkers are tired of explaining Git to you all the time? Git is something we all need to use, but few of us really master it. I created this course to improve your Git (and GitHub) knowledge at a radical level. Launching May 21, 2024. Join the waiting list!