summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/npm-link.md
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2015-02-20 09:03:34 -0800
committerBen Noordhuis <info@bnoordhuis.nl>2015-02-22 07:42:24 +0100
commit1e2fa1537f9978acbd27db6ee151885ab02346c1 (patch)
treeaa886046ac044759ab2c4650d4b45d2b736dbcde /deps/npm/doc/cli/npm-link.md
parent3ab9b92e90e4bb3ed68457fcb95bc32f17586f3a (diff)
downloadnode-new-1e2fa1537f9978acbd27db6ee151885ab02346c1.tar.gz
deps: upgrade npm to 2.6.0
PR-URL: https://github.com/iojs/io.js/pull/904 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/npm/doc/cli/npm-link.md')
-rw-r--r--deps/npm/doc/cli/npm-link.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/doc/cli/npm-link.md b/deps/npm/doc/cli/npm-link.md
index 786ad815dc..a48fb97785 100644
--- a/deps/npm/doc/cli/npm-link.md
+++ b/deps/npm/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.