I installed nodejs in C:\\Program Files (x86)\\nodejs
then I created a .js file and saved it in my desktop just to output \'hello world\' in the console:
If you are using a framework like express, you need to put the package.json file into the folder you are using and don't forget change main name.