NPM documentation suggests installing from NVM since the node installer could cause permission issues down the line.
There’s an nvm port: https://github.com/coreybutler/nvm-windows
Once installed, open a terminal window (or close and reopen)
nvm install node
Search for Environmental Variables in Windows Search. This will open System Settings, click Environmental Variable, Edit “Path”, Create new and browse to your nvm install location for me it was C:\Users\USER\AppData\Roaming\nvm\v19.9.0
Save, then close your terminal window and open it again, so the new paths update.