Home > Blockchain >  How do I setup javascript/node.js/npm?
How do I setup javascript/node.js/npm?

Time:09-22

Everytime I try to figure this out I end up on the same pages with the same confusing terminology that doesn't explain anything. This is what I have:

  1. installed notepad with recommended settings.
  2. installed 17 recommended plugins for notepad
  3. installed node.js and all recommended software included in the node.js lts .msi file.

step 1 of the tutorial? create a new directory for the project and use npm init inside of it so we can start keeping track of our packages. problem? I can create a new directory with ease, but where am I supposed to run npm init FROM? presumably some type of console but idk what console, I have like 8 of them after installing node.js, and none of them recognize any commands that I know. Can someone please explain this to me as if I were a 5 year old?

CodePudding user response:

all you should need to do is to install node.js from the org website, from there just open cmd or terminal and not any other fancy terminals I would recommend to use VSC but that is up to you after all

if you open cmd, cd into the directory.

then npm init and follow the instructions from the terminal.

  • Related