Download node.js from https://nodejs.org/en/ (download recommended version). This should also download npm (node package manager).
The GUI did work but I had to close and re-open the command prompt in order to see that.
Check that npm has been installed with npm -v.
Nav to correct directory and go through npm init.
npm will have created a bunch of files - the package.json file will appear in the directory.