You need to download and install node.js from (https://nodejs.org/en/). Also, download the nom package that you need from the NPM site (https://www.npmjs.com).
Create a file on your desktop and open up a terminal + a code editor on that file.
npm init on the terminal, which will create your package.json file.
More details can be found on this crash-course:
Hope this helps!