How did I upgrade Node.js in Windows?

Step 1

I went to the https://nodejs.org/en/download page and downloaded the latest version (node-v10.15.3-x64.msi).

Step 2

I ran it as an administrator (it fixes the «The system cannot open the device or file specified» error):

msiexec /i node-v10.15.3-x64.msi

See also: How to upgrade npm in Windows?