Home > other >  How to install a project's dependencies using nvm?
How to install a project's dependencies using nvm?

Time:11-02

I'm working with nvm to run version 14.17.0 of node:

nvm current
v14.17.0

I'm inside the folder of a project with package.json and package-lock.json files.

I need to install the project's dependencies so I try to run nvm install, but I soon realize that that command is actually for Download and install a <version>, [-s] from source.

My question is: how do I install the project's dependencies defined in package.json when using nvm?

Reading the nvm help didn't clarify my question and when I google this, I only find results about how to install nvm.

CodePudding user response:

nvm is for managing your node version; you want npm install.

Frankenstein was the guy who did the mad science; you want "Frankenstein's monster".

  • Related