Home > Mobile >  How can I install NPM dependencies?
How can I install NPM dependencies?

Time:01-20

I've got a task that involves writing a code and I carried it out quite easily. I need to submit my solution to GitHub – according to the plan, I forked a certain repository and even cloned it to my hard drive using VS code. However, I was also told to install NPM dependencies to that newly created folder.

There are many manuals on Internet, but almost no one of them explains how to do it in a comprehensible way. As a beginner, I often struggle with all these new keywords, commands, etc and I would like to make things somewhat clearer. Do you have an idea how to get through it?

CodePudding user response:

If you have already installed npm, in project directory use command

npm install

CodePudding user response:

You can start with npm init in your folder. Then package.json file will be created. you can add dependencies you want to add, and run npm install.

  •  Tags:  
  • Related