How to Install Node.js and GitHub CLI

A copy-paste guide for Mac and Windows users

8 min readMay 2, 2026
Terminal showing Node.js and GitHub CLI installation

01 Why You Need These

The first thing we're installing is Node.js. Node is the runtime, the thing that runs your code. Think of it like electricity. Installing Node is like wiring up your house. Once it's there, you just plug in your electronics.

The second tool is GitHub CLI. This lets your terminal talk to GitHub directly, so you can push and pull code without going to github.com every time.

Below are all the commands I use in the video, ready to copy and paste straight into your terminal. Pick your OS to get started.

What computer are you on?*