xxxxxxxxxx
curl https://nodejs.org/download/release/latest/win-x64/node.exe --output "C:\Program Files\nodejs\node.exe"
xxxxxxxxxx
1. Install nvm-setup.exe from https://github.com/coreybutler/nvm-windows/releases
2. Restart/Run Command Prompt or Terminal
3. Type "nvm -v"
4. Type "nvm uninstall" followed by the version number it just gave you. (eg "nvm uninstall 18.10.0")
5. Type "nvm install latest" To install the latest node.js
6. Type "nvm use" followed by the version number that the-
install command just gave you at the bottom. (eg "nvm use 19.1.0")
7. Finally, type "npm install -g npm" to update npm