Using npm, how do you install project dependencies?

Experience Level: Junior
Tags: npm

Answer

To install dependencies, open the command-line, change your current directory to the directory that contains your project with file package.json and run the following command:

npm install

Comments

No Comments Yet.
Be the first to tell us what you think.
npm for beginners
npm for beginners

Are you learning npm ? Try our test we designed to help you progress faster.

Test yourself