Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Marr <davemarr@gmail.com>2015-02-10 23:05:16 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-02-13 04:45:00 +0300
commit899e2704c8feb5b5b98b0a836ef5bd1947f9e990 (patch)
tree1f6ac02a4ee8bac8623479991a4ff0426f6f7a0d /doc
parentc61aff370dd57d07408c3ad4ec964bc16db6dfbc (diff)
Fix npm link documentation typo.
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/npm-link.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cli/npm-link.md b/doc/cli/npm-link.md
index 786ad815d..a48fb9778 100644
--- a/doc/cli/npm-link.md
+++ b/doc/cli/npm-link.md
@@ -38,7 +38,7 @@ For example:
npm link redis # link-install the package
Now, any changes to ~/projects/node-redis will be reflected in
-~/projects/node-bloggy/node_modules/redis/
+~/projects/node-bloggy/node_modules/node-redis/
You may also shortcut the two steps in one. For example, to do the
above use-case in a shorter way:
@@ -49,7 +49,7 @@ above use-case in a shorter way:
The second line is the equivalent of doing:
(cd ../node-redis; npm link)
- npm link redis
+ npm link node-redis
That is, it first creates a global link, and then links the global
installation target into your project's `node_modules` folder.