Download the Windows installer from here

Nothing complex. Just click the ‘Next’ until the installer finishes and then restart the PC.

Once the PC has restarted, open a command line (or Bash Window) and type npm -v. If you get a version number then the install worked fine.

To run js code, simply type node [file.js]