Skip to content

Install Node.js and Git

Two free helper programs your AI assistant needs. Install once and you're done.

Your AI assistant uses two free programs:

  • Node.js runs your website on your own computer, so you can look at a preview. It also includes npx, which your AI uses to start the Switchboard helper.
  • Git keeps track of every version of your website, like "Track changes" in Word. That way you can always go back to an earlier version, and it's how your website gets to Switchboard.

You install them once. Open your terminal first.

#Installing

Windows has a built-in installer called winget. Paste these two commands one at a time into your terminal and press Enter after each:

PowerShell
winget install --id OpenJS.NodeJS.LTS -e --source winget
PowerShell
winget install --id Git.Git -e --source winget

If a window asks whether the program may make changes, click Yes.

Doesn't winget work? Download the installers from nodejs.org (choose LTS, version 24 or higher) and git-scm.com instead. Click Next all the way through: the default settings are fine.

#Checking it worked

Paste these commands into your terminal:

Terminal
node --version
npx --version
git --version

You'll see three version numbers, like v24.11.0, 11.6.2 and git version 2.51.0. The exact numbers don't matter, as long as the Node.js number is 24 or higher (so v24, v25, v26 …). Is it lower, like v20 or v22? Then install Node.js again as shown above: with an older version your website can't run on your own computer.

Getting a message like not recognized or command not found? Close your terminal, open a new one and try again. Still no luck? See troubleshooting.

#Tell Git your name

Git records who made each change. Tell it your name and email address once (replace the example with your own details):

Terminal
git config --global user.name "Anna Smith"
git config --global user.email "anna@example.com"

Next step: install Claude Code.

Was this helpful?

Guide

Search the guide

Type a word or a question. Tip: press Ctrl K to open this anywhere.