Add a note about npm link. See #88.

Former-commit-id: 11c4a9bce02e5f143b09d0edff80362e2e824b10
This commit is contained in:
Kit Cambridge
2012-10-09 15:22:26 -07:00
parent 691a561a95
commit d1178defe0

View File

@@ -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