Install the three things, and prove each one works
By the end of this lesson you will have an editor, Node.js and git installed, each proved by a command that answers, and their three version numbers written down in a file called SETUP.md.
Three pieces of software, and a check for each. Do the checks — "it seemed to install" is how people lose an evening later.
1. An editor
Visual Studio Code, free, from code.visualstudio.com. It is where you will read and write files.
Check: open it, create a file called hello.txt, type anything, save it. Then find that file again through your file manager (Explorer or Finder), in whichever folder the save dialog offered. If you can, the editor works and you know where it puts things — which matters more than it sounds.
2. Node.js
This is the thing that runs JavaScript outside a browser. Get the LTS version from nodejs.org — LTS means long-term support, the boring one, which is what you want.
Check: open a terminal (next lesson explains what that is; for now, in VS Code use Terminal → New Terminal) and type:
node --version
A version number means it works. command not found means it did not — usually because the terminal was open before you installed. Close it, open a new one, try again. That single fix solves this problem most of the time.
3. Git
From git-scm.com. It records the history of your files, and lesson 4 is about why that matters.
On Windows the installer asks about a dozen questions. The suggested answer is fine on every screen but one: where it asks for git's default editor, choose Visual Studio Code instead of Vim, so that git never drops you into an editor you do not know how to leave.
Check: git --version in the terminal.
4. Check the editor's version too
Your editor also has a version number, and you will want it for the file below. In the terminal, code --version prints it (the first line is the version). If that command is not found, use the menu instead: Help, then About (on a Mac, Code, then About Visual Studio Code).
The habit worth forming today
You just confirmed each install with a command and read its answer. That is the shape of everything that follows: do a thing, then check the thing, with a command that answers rather than a feeling that it probably worked.
Almost every "it's broken and I don't know why" in this track is a check somebody skipped.
When a check fails
Read the message. Actually read it — beginners' eyes slide off error text, and it is usually the most informative sentence on the screen. Then paste it into a search engine, or into an assistant, verbatim. Someone has had it before.
The fourth install waits
Your coding agent is software too, and it gets the same treatment — an install and a check — in unit 5, once you can read what it writes.
Try it now
Run the three version checks (node --version, git --version, code --version) and write the three version numbers in a file called SETUP.md; save it anywhere you can find it, because the next lesson moves it into your course folder. When something breaks in two months, knowing which versions you had is the difference between a five-minute fix and an afternoon.
The prompt
Your coding agent arrives in unit 5, so this prompt goes to a chat assistant in your browser, such as Claude at claude.ai or ChatGPT at chatgpt.com. Run both terminal checks first, then paste:
I am setting up a computer for programming for the first time. Below
is what my terminal printed for two checks, node --version and
git --version. For each, tell me whether it shows a working install
or an error. If it is an error, quote the words that say so and tell
me what they mean. Do not tell me to install anything else.
[paste everything the terminal printed]
A good answer is two short verdicts. If it sends you off to install a version manager or a second editor, you asked for a check and got a project: skip that part.
Check it yourself
node --versionprintsvand a number whose first part is even. LTS releases are always even-numbered.git --versionprintsgit versionand a number.hello.txtis where you expected it, found through your file manager rather than the editor.- Close every terminal, open a new one, and run both checks again. The same answers, so every terminal you open from now on knows both programs.
SETUP.mdholds three tools, three versions and today's date.
Break it on purpose
Type nod --version, one letter short. Read what comes back: command not found, or on Windows a longer message naming the word it could not recognise. It is the same complaint a stale terminal gives. The message says the program could not be found, not why — finding out why is your job.
Compare with ours
Our SETUP.md
# Setup, 6 November 2026
VS Code 1.140.0
Node.js v24.18.1 (LTS)
git 2.55.0
Machine Windows 11
Your numbers will be different. That is the reason to write them down.
Checkpoint
Nothing to commit yet: git is lesson 4, and SETUP.md is the first file you commit there. Keep it where you can find it, next to idea.txt; lesson 3 moves both into the course folder. Then answer this lesson's questions.