javascriptnode.jsnpmpackagenpm-install

Installing a local module using npm?


I have a downloaded module repo, I want to install it locally, not globally in another directory?

What is an easy way to do this?


Solution

  • you just provide one <folder> argument to npm install, argument should point toward the local folder instead of the package name:

    npm install /path