From d1178defe0ead747d5a70093273dcbed9d5f9378 Mon Sep 17 00:00:00 2001 From: Kit Cambridge Date: Tue, 9 Oct 2012 15:22:26 -0700 Subject: [PATCH] Add a note about `npm link`. See #88. Former-commit-id: 11c4a9bce02e5f143b09d0edff80362e2e824b10 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 83d7e878f..f30cbf1c9 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,9 @@ Using [npm](http://npmjs.org/): ```bash npm install lodash + npm install -g lodash +npm link lodash ``` In [Node.js](http://nodejs.org/) and [RingoJS v0.8.0+](http://ringojs.org/): @@ -171,6 +173,8 @@ In [Node.js](http://nodejs.org/) and [RingoJS v0.8.0+](http://ringojs.org/): var _ = require('lodash'); ``` +**Note**: If you install Lo-Dash globally, you'll [need to run `npm link lodash`](http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/) in your project's root directory first. + In [RingoJS v0.7.0-](http://ringojs.org/): ```js