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?
From the npm-link documentation:
In the local module directory:
$ cd ./package-dir $ npm link
In the directory of the project to use the module:
$ cd ./project-dir $ npm link package-name
Or in one go using relative paths:
$ cd ./project-dir $ npm link ../package-dir
This is equivalent to using two commands above under the hood.