You installed the tool. The terminal swears it doesn't exist. The program is right there — the machine just can't find it.
The installer ran. It said success. You type the tool's name to use it — and the terminal flatly denies it exists. Same word that was just installed two minutes ago.
"This is the one that makes you feel insane. I watched it install. It said done. Then the computer says it's not there. So which is lying — the installer or the terminal?"
"Neither is lying — and this is a spot where I've sent people in circles. I'll start suggesting reinstalls when 'not recognized' usually means the file is fine and the terminal just doesn't know where to look. The right first move is almost never 'install it again.'"
When you type a command, the terminal doesn't hunt every folder on the drive. It looks in a specific, ordered list of folders called PATH. If the tool's folder is on that list, it's found instantly. If it isn't — even though the program is sitting right there on disk — you get not recognized.
a list of foldersAn ordered list of directories the terminal searches when you type a command name. Nothing more.
name → folderType node → it walks the PATH list looking for a node program. First hit wins.
restart to refreshAn open terminal cached the old PATH. A freshly-installed tool often just needs a new terminal.
Why this saves you hours: roughly half of "I installed it but it doesn't work" is a PATH problem, not a broken install. Knowing PATH exists turns a mystifying failure into a two-second diagnosis: the program is fine, the terminal just can't see its folder. The fix is usually to open a new terminal (so it re-reads PATH) — or add the folder to the list. You almost never need to reinstall.
The installer finished successfully. You type the tool's name in the same terminal window that was open during install, and it says not recognized. Most likely cause?
$env:Path in PowerShell) and check whether the tool's folder is in the list.C:\Program Files\nodejs). That's the folder PATH needs.Same rule as every module: answer it right, or it isn't done.
not recognized. What does that tell you, and what's the fix?"Not recognized" means can't-find-it, not doesn't-exist. The terminal only searches PATH. Reopen the window first; reinstalling is almost never the fix.
A copy-paste snippet that answers "is this tool on my PATH, and if so where?" in one command — plus a short checklist that walks "not recognized" from the cheap fix (reopen the terminal) to the real fix (add the folder), so you never reinstall by reflex again.